Mercurial > hg > nginx
comparison src/event/ngx_event_pipe.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 | fc72784b1f52 |
children | adc2414856b1 |
comparison
equal
deleted
inserted
replaced
6638:a2b310a8b2af | 6639:82efcedb310b |
---|