[PATCH] Unix: remove errno logging when send() returned zero.
codeeply at gmail.com
Tue Jun 10 12:02:26 UTC 2014
AFAIK, it happens when sends zero bytes.
2014-06-10 19:36 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:
> On Tue, Jun 10, 2014 at 12:54:12AM +0800, Jianjun Zheng wrote:
> > When send() returned zero, the errno won't be set.
> > So, it's meaningless here.
> This should never ever happen, and if it happens - logging errno
> make sense, as nobody knows why it happened in the first place.
> Maxim Dounin
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel