Message235015
The way socket timeouts are implemented is by using select() to determine whether the socket is ready for read/write. In this case, select() probably marks the socket ready even though the queue is full, which later raises EAGAIN.
About SO_SNDTIMEO and SO_RCVTIMEO, POSIX says "it is implementation-defined whether the SO_SNDTIMEO option can be set". Also, they would not necessarily apply to other operations such as accept(). |
|
Date |
User |
Action |
Args |
2015-01-30 01:34:42 | pitrou | set | recipients:
+ pitrou, neologix, piotrjurkiewicz |
2015-01-30 01:34:42 | pitrou | set | messageid: <1422581682.06.0.234996475716.issue23351@psf.upfronthosting.co.za> |
2015-01-30 01:34:42 | pitrou | link | issue23351 messages |
2015-01-30 01:34:41 | pitrou | create | |
|