From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78673 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Asynchroneous image retrieval in HTML rendering Date: Mon, 02 May 2011 23:15:03 +0200 Organization: Probably a good idea Message-ID: <87mxj4ztwo.fsf@dod.no> References: <87bozwfw84.fsf@gmail.com> <87r58ll8jm.fsf@gmail.com> <87liys4x04.fsf@gmail.com> <87tydewilm.fsf@gmail.com> <87liyp35fy.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304371006 3620 80.91.229.12 (2 May 2011 21:16:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 21:16:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26975@lists.math.uh.edu Mon May 02 23:16:42 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QH0Ty-0004pX-Fy for ding-account@gmane.org; Mon, 02 May 2011 23:16:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QH0Sk-0002eq-Sm; Mon, 02 May 2011 16:15:26 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QH0Si-0002ec-9q for ding@lists.math.uh.edu; Mon, 02 May 2011 16:15:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QH0Sc-0001EZ-KO for ding@lists.math.uh.edu; Mon, 02 May 2011 16:15:23 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QH0SZ-0003JS-Lg for ding@gnus.org; Mon, 02 May 2011 23:15:15 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QH0SY-0003uO-If for ding@gnus.org; Mon, 02 May 2011 23:15:14 +0200 Original-Received: from cm-84.208.226.30.getinternet.no ([84.208.226.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 23:15:14 +0200 Original-Received: from sb by cm-84.208.226.30.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 23:15:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.226.30.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:357jY4p2Vn4LB05Hq2ZCn3H96Ao= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78673 Archived-At: >>>>> Lars Magne Ingebrigtsen : > So I'm going to rewrite this by adding a new library, called, er, > url-queue.el, which has the same interface as `url-retrieve', but which > manages the parallelism in a more sensible way, by not having more than > (for instance) four connections going at the same time. If they are all GETs against the same server, the nicest way for a client to behave is to just keep the TCP connection up HTTP/1.1 style and just fire off the GETs pipelined.