[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Bindings for ‘sendfile’
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Bindings for ‘sendfile’ |
Date: |
Wed, 17 Apr 2013 18:27:04 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) |
Thien-Thi Nguyen <address@hidden> 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 ‘prep-file-transfer’ in module ‘(ttn-do sizzweb)’
> calls ‘sendfile’ in a loop. Admittedly, that code could be replaced by
> ‘sendfile/never-fewer’, as the retval is not used in a particularly
> 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’.
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/07
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/09
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/09
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/09
- Re: [PATCH] Bindings for ‘sendfile’, Mark H Weaver, 2013/04/10
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/14
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/16
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/16
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/17
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/17
- Re: [PATCH] Bindings for ‘sendfile’,
Ludovic Courtès <=
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/18
- Re: [PATCH] Bindings for ‘sendfile’, Ludovic Courtès, 2013/04/10
- Re: [PATCH] Bindings for ‘sendfile’, Thien-Thi Nguyen, 2013/04/14