Re: select() on nonblocking sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> Would this happen with blocking sockets, too, and cause a read() to
> block infinitely?

Blocking after success of select() is impossible.



>		 I've seen qmail-remote (smtp sender) block in read()
> on its socket at some rare occasions.

If you have seen this, report this as bug: /proc/net/tcp, straces etc.
This must not happen in any curcumstances.

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux