Message177539
| Author |
pitrou |
| Recipients |
asvetlov, eranrund, orsenthil, piotr.dobrogost, pitrou, slingamn |
| Date |
2012年12月15日.17:13:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1355591630.38.0.978543430703.issue16298@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Sorry for the delay. I am not sure I understand your concern here:
> If the user reads the exact amount of bytes the server sent, read() on > the socket will never have a chance to return '' and inform the user
> about the connection termination.
Certainly read(), called once again, would return ''? That's how I understand your unit test anyway. |
|