From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Bindings for =?utf-8?B?4oCYc2VuZGZpbGXigJk=?= Date: Wed, 17 Apr 2013 18:27:04 +0200 Message-ID: <871ua986nb.fsf@gnu.org> References: <87ip4liufs.fsf@gnu.org> <878v5hbblk.fsf@tines.lan> <87obed2iqo.fsf@gnu.org> <87sj32rubt.fsf@inria.fr> <87r4ik5ciy.fsf@zigzag.favinet> <8761zvagt0.fsf@gnu.org> <8738uz78ah.fsf@zigzag.favinet> <87d2u2bp93.fsf@tines.lan> <87ip3p1j7b.fsf@zigzag.favinet> <87y5citp2z.fsf@gnu.org> <87txn6z0zs.fsf@zigzag.favinet> <87fvyp9v53.fsf@gnu.org> <8738upyymg.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1366216044 4531 80.91.229.3 (17 Apr 2013 16:27:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Apr 2013 16:27:24 +0000 (UTC) Cc: guile-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Apr 17 18:27:27 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USVCb-0007hi-Ap for guile-devel@m.gmane.org; Wed, 17 Apr 2013 18:27:21 +0200 Original-Received: from localhost ([::1]:50630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USVCa-0006eX-R5 for guile-devel@m.gmane.org; Wed, 17 Apr 2013 12:27:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USVCV-0006cs-Np for guile-devel@gnu.org; Wed, 17 Apr 2013 12:27:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USVCU-0000GK-UY for guile-devel@gnu.org; Wed, 17 Apr 2013 12:27:15 -0400 Original-Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=50793 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USVCU-0000Ek-OD for guile-devel@gnu.org; Wed, 17 Apr 2013 12:27:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id D8A8AD052; Wed, 17 Apr 2013 18:27:05 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j4Kc-Ih1dVFW; Wed, 17 Apr 2013 18:27:05 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 58F39D022; Wed, 17 Apr 2013 18:27:05 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Germinal an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <8738upyymg.fsf@zigzag.favinet> (Thien-Thi Nguyen's message of "Wed, 17 Apr 2013 17:18:15 +0200") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:e0b:1:123:ca0a:a9ff:fe03:271e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16268 Archived-At: Thien-Thi Nguyen skribis: > The original application was "ttn-do serve-debiso", which configures > "ttn-do sizzweb" to serve debian ISOs (or rather, the various component > .deb files and metadata that apt-get requests from the loopback-mounted > ISO) over the home network. > > Specifically, proc =E2=80=98prep-file-transfer=E2=80=99 in module =E2=80= =98(ttn-do sizzweb)=E2=80=99 > calls =E2=80=98sendfile=E2=80=99 in a loop. Admittedly, that code could = be replaced by > =E2=80=98sendfile/never-fewer=E2=80=99, as the retval is not used in a pa= rticularly > intelligent way, but anyway, the point is, at time of writing and early > testing *sans looping*, apt-get on the other computer would stall and > eventually die, complaining. That's when i learned to read and think > about sendfile(2) more carefully than i had before. So that was over a PF_INET/SOCK_STREAM socket, right? Would it occur systematically, or just once in a while? Ludo=E2=80=99.