Message180396
| Author |
pitrou |
| Recipients |
giampaolo.rodola, gvanrossum, jcea, neologix, pitrou, sbt, trent |
| Date |
2013年01月22日.14:56:23 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1694693851.412642169.1358866577556.JavaMail.root@zimbra10-e2.priv.proxad.net> |
| In-reply-to |
<CAH_1eM0H21MYs6L1i+cPgtUNi-7hLyUCDzRrkRQiOSZ_150=7Q@mail.gmail.com> |
| Content |
> Also, in real code you have to be prepared to catch EAGAIN regardless
> of spurious notifications: when a FD is reported as read ready, it
> just means that there are some data to read. Depending on the
> watermark, it could mean that only one byte is available.
If only one byte is available, recv(4096) should simply return a partial result. |
|