comparison src/stream/ngx_stream_access_module.c @ 6762:078f17b2535b stable-1.10

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 8807a2369b1a
children 2f41d383c9c7
comparison
equal deleted inserted replaced
6761:73e62bd2ce69 6762:078f17b2535b