Mercurial > hg > nginx
diff src/event/ngx_event.h @ 6639:82efcedb310b
HTTP/2: avoid sending output queue if there's nothing to send.
Particularly this fixes alerts on OS X and NetBSD systems when HTTP/2 is
configured over plain TCP sockets.
On these systems calling writev() with no data leads to EINVAL errors
being logged as "writev() failed (22: Invalid argument) while processing
HTTP/2 connection".
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 19 Jul 2016 20:30:21 +0300 |
parents | 6acaa638fa07 |
children | 56fc55e32f23 |