Timeouts in HEAD ldap code.
Volker.Lendecke at SerNet.DE
Wed Jun 1 09:07:16 GMT 2005
On Tue, May 31, 2005 at 05:18:59PM -0700, Jeremy Allison wrote:
> Now read_data_until() isn't quite right as it calls sys_read() which will
> block indefinately as it ignores EINTR.
You're sure? sys_read is only called if select indicated that something is
readable. Reading http://www.opengroup.org/onlinepubs/007908799/xsh/read.html
I get the impression that EINTR is only returned when there's no data
available. In all other cases it should return the amount of data actually
The read operation was terminated due to the receipt of a signal, and no
data was transferred.
Is read(2) still an interruptible system call when select has indicated
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050601/707c4168/attachment.bin
More information about the samba-technical