Re: TCP_DEFER_ACCEPT issues

2007-11-04 Thread dean gaudet
fwiw i also brought the TCP_DEFER_ACCEPT problems up the end of last year: http://www.mail-archive.com/netdev@vger.kernel.org/msg28916.html it's possible the final message in that thread is how we should define the behaviour, i haven't tried the TCP_SYNCNT idea though. -dean - To unsubscribe

Re: TCP_DEFER_ACCEPT issues

2007-11-02 Thread Eric Dumazet
Felix von Leitner a écrit : I am trying to use TCP_DEFER_ACCEPT in my web server. There are some operational problems. First of all: timeout handling. I would like to be able to set a timeout in seconds (or better: milliseconds) for how long the socket is allowed to sit there without data

Re: TCP_DEFER_ACCEPT issues

2007-11-02 Thread Felix von Leitner
Thus spake Eric Dumazet ([EMAIL PROTECTED]): 1) Setting a timeout in a millisecond range ( 1000) is not very good because some clients may need much more time to send your server the data (very long distance). So a second granularity is OK. I want millisecond accuracy for consistency.