From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1F62678EB1 for ; Tue, 6 Jan 2015 13:20:04 -0800 (PST) Received: by mail-we0-f180.google.com with SMTP id w62so67935wes.11 for ; Tue, 06 Jan 2015 13:17:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Vte2yyk/beIoNf+dqpqXYAg/pzjSi77SKP0X7WP3THo=; b=sXfJtimuT6Ic7J4RrpzIx0oHce/kdom/N/xDUY28hOc5qnthwQmi2zygAT/KcPvPTo etzFZ156hhLn4zl1bdynr/ST17xVjlPbNLpcJ/TRL9bdkalJe4azG4W7h4eX2V7SmQxx 4JsVSto1G3UwXL5u9tcyQFysCgBaEwUJr75P4UiFSMFL39RJYSCRmj908QVMWWPwTCgl BP/A0ltzW5ZYYb8Gk1dWQi+bSIeww1+wgd63gCuVZ98mQljykhwluEOYV+iiRQpRo3QS 1ivOB7Cfcz9dX3zafUGm3NlFN+zDtMFplrUG9xRWfObvIxIHCtg0kVycSxOPJEtpq0Zb N3cA== X-Received: by 10.194.238.104 with SMTP id vj8mr106871611wjc.107.1420579056282; Tue, 06 Jan 2015 13:17:36 -0800 (PST) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id ud4sm15431796wib.0.2015.01.06.13.17.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jan 2015 13:17:35 -0800 (PST) Date: Tue, 6 Jan 2015 21:17:32 +0000 From: Adam Thompson To: Chris Brannon Message-ID: <20150106211732.GE31364@toaster.adamthompson.me.uk> References: <20150005163335.eklhad@comcast.net> <87zj9weow9.fsf@the-brannons.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wchHw8dVAp53YPj8" Content-Disposition: inline In-Reply-To: <87zj9weow9.fsf@the-brannons.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] curl things X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 21:20:04 -0000 --wchHw8dVAp53YPj8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 05, 2015 at 04:25:26PM -0800, Chris Brannon wrote: > Karl Dahlke writes: >=20 > > then maybe we shouldn't spend a lot of time tracking it down. > > I wasn't asking for the feature in the first place. >=20 > Me either. I use GNU screen, so if my edbrowse blocks, I just open up > another screen window and fire off another browser. > The saving directly to disk feature is nice though, since that's what > people are usually going to want to do with extremely large files. > I do see why some folks would like downloading in the background, so > if I can figure out why it barfs on https, I will. Thanks. The problem I've ran into on more than one occasion is that edbrowse supports multiple buffers and yet blocks on large downloads. This means that if I'm working in edbrowse and start a large (or more likely just really slow) download, then I can't use the other edbrowse buffers I've got open whilst the download happens. Tbh, before edbrowse got saving to disk, I rarely used it for large downloads because most of my machines are memory limited (1 gb of RAM counts as memory limited when you try downloading a 1.= 5 gb iso by mistake), however now I'd like to be able to download files just like I'd do in a graphical browser, or when using links (which I sometimes have = to do when edbrowse won't handle a site's particular kind of html) for that= matter. > Something tells me that it's not ok to use the same curl handle across > multiple processes though. More research is required. Yeah. I'm not sure if it's a factor since I've never ran into this before, but when running in gdb you can see that curl launches a new thread when performing network operations. I wonder what happens when one forks the pro= cess mid operation, and how that plays with whatever openssl is doing behind cur= l's=20 threading. Cheers, Adam. --wchHw8dVAp53YPj8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUrFDsAAoJELZ22lNQBzHOPhcIANr3vRvtn+pg7RtEY6amXlhg j80SEMOhyhEj+syATJacPCmpeR3himGeOuiWIB/wAOBAFnnJsg0egpYhOlOwIQa8 Yg7XPt3O31orKMNG5u2v/oFLeLCqo/UIrre+HCX+AYW2EW7nYJxQaBBgk4ePnqhx m8OfS3i1ZhBZ37XI+CJqjEq0zFjgBqud+8izuWdIEnn2odvwZSsESao25EZMt1Tu 8rNgRJy1y9d8OBg7NTJWZ0r018DbYvYE8AGIBUWtvGeHCuJfNgBWAZJ49/zpRa3p 8k+jTBJU3JUweFgiXCtZNS9Z8bp+V1Tv0rlaDkM/n8U73JNKAZV0BKw+YK590FI= =LM54 -----END PGP SIGNATURE----- --wchHw8dVAp53YPj8--