lkml.org 
[lkml]   [2001]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] sendpath() support, 2.4.0-test3/-ac9

    On Mon, 15 Jan 2001, dean gaudet wrote:

    > > just for kicks i've implemented sendpath() support.
    > >
    > > _syscall4 (int, sendpath, int, out_fd, char *, path, off_t *, off, size_t, size)
    >
    > hey so how do you implement transmit timeouts with sendpath() ?
    > (i.e. drop the client after 30 seconds of no progress.)

    well this problem is not unique to sendpath(), sendfile() has it as well.

    in TUX i've added per-socket connection timers, and i believe something
    like this should be done in Apache as well - timers are IMO not a good
    enough excuse for avoiding event-based IO models and using select() or
    poll().

    Ingo

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:18    [W:0.030 / U:0.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site