<div dir="ltr">AFAIK, it happens when sends zero bytes.<br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-10 19:36 GMT+08:00 Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<div class=""><br>
On Tue, Jun 10, 2014 at 12:54:12AM +0800, Jianjun Zheng wrote:<br>
<br>
> When send() returned zero, the errno won't be set.<br>
> So, it's meaningless here.<br>
<br>
</div>This should never ever happen, and if it happens - logging errno<br>
make sense, as nobody knows why it happened in the first place.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</font></span></blockquote></div><br></div></div>