[PATCH] Unix: remove errno logging when send() returned zero.

Maxim Dounin mdounin at mdounin.ru
Tue Jun 10 11:36:01 UTC 2014


Hello!

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
http://nginx.org/



More information about the nginx-devel mailing list