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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: O_ANY [was: Re: 'native files', 'o... Ingo Molnar
- Re: O_ANY [was: Re: 'native files', 'o... Felix von Leitner
- Re: O_ANY [was: Re: 'native files', 'o... Andi Kleen
- Re: O_ANY [was: Re: 'native files', 'o... Mitchell Blank Jr
- Re: 'native files', 'object fingerprint... Jamie Lokier
- Re: 'native files', 'object fingerprint... Felix von Leitner
- Re: 'native files', 'object fingerprint... Linus Torvalds
- Re: 'native files', 'object fingerprint... dean gaudet
- Re: 'native files', 'object fingerprint... Pavel Machek
- Re: 'native files', 'object fingerprint... Pavel Machek
- Re: [patch] sendpath() support, 2.4.0-t... Ingo Molnar
- Re: [patch] sendpath() support, 2.4.0-t... dean gaudet
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Albert D. Cahalan
- Re: Is sendfile all that sexy? Linus Torvalds
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? Peter Samuelson
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Felix von Leitner