[PATCH] Unix: remove errno logging when send() returned zero.
mdounin at mdounin.ru
Tue Jun 10 12:05:05 UTC 2014
On Tue, Jun 10, 2014 at 08:02:26PM +0800, Jianjun Zheng wrote:
> AFAIK, it happens when sends zero bytes.
And this should never ever happen. And that's why the logging is
here in the first place.
> 2014-06-10 19:36 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:
> > 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/
> > _______________________________________________
> > nginx-devel mailing list
> > nginx-devel at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx-devel
> nginx-devel mailing list
> nginx-devel at nginx.org
More information about the nginx-devel