Hello! 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 <[email protected]>: > > > 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 > > [email protected] > > http://mailman.nginx.org/mailman/listinfo/nginx-devel > > > _______________________________________________ > nginx-devel mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx-devel -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
