Message147166
> What value should we assign to sock->sock_timeout if SOCK_NONBLOCK was
> specified in accept4() call?
The same value as for other non-blocking sockets, IMO.
> And in socket.py should we check as in original accept:
> if getdefaulttimeout() is None and self.gettimeout():
> sock.setblocking(True)
I don't think so, since the whole point of accept4() is to override normal flags creation. |
|
Date |
User |
Action |
Args |
2011-11-06 17:54:06 | pitrou | set | recipients:
+ pitrou, loewis, doko, exarkun, vstinner, lekma, nvetoshkin, neologix, socketpair |
2011-11-06 17:54:05 | pitrou | set | messageid: <1320602045.92.0.575267475925.issue10115@psf.upfronthosting.co.za> |
2011-11-06 17:54:05 | pitrou | link | issue10115 messages |
2011-11-06 17:54:05 | pitrou | create | |
|