in reply to Re^2: Timeout for an established connection
in thread Timeout for an established connection
Okay, that explains the problem you are trying to deal with. Ie: when a server accepts a request ($svr->send( GET ... )), but never actually responds.
By default, the connection will remain open for something like 900 seconds. The solution is to use setsockopt() to set the TCP_USER_TIMEOUT.
A search for that term will turn up the relevant docs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Timeout for an established connection
by 0day (Sexton) on Jan 01, 2013 at 22:20 UTC | |
by BrowserUk (Patriarch) on Jan 01, 2013 at 22:27 UTC | |
by 0day (Sexton) on Jan 02, 2013 at 20:41 UTC | |
by BrowserUk (Patriarch) on Jan 02, 2013 at 21:05 UTC | |
by 0day (Sexton) on Jan 02, 2013 at 21:43 UTC | |
| |
by 0day (Sexton) on Jan 02, 2013 at 20:50 UTC | |
by zentara (Cardinal) on Jan 02, 2013 at 10:53 UTC | |
by 0day (Sexton) on Jan 02, 2013 at 19:08 UTC | |
by zentara (Cardinal) on Jan 03, 2013 at 10:36 UTC | |
by 0day (Sexton) on Jan 03, 2013 at 19:52 UTC |