]> git.kaiwu.me - nginx.git/commit
SPDY: avoid creating flush frames.
authorValentin Bartenev <vbart@nginx.com>
Mon, 7 Apr 2014 19:35:33 +0000 (23:35 +0400)
committerValentin Bartenev <vbart@nginx.com>
Mon, 7 Apr 2014 19:35:33 +0000 (23:35 +0400)
commit5cf11ab2e0e27a4289ac7a69174c90fc7306f805
tree6a6880c83983217477acd6fbd0d00d545f7f4ad9
parenta547f4ac15a489be896edb353a71f2dc85af1265
SPDY: avoid creating flush frames.

Previously, an empty frame object was created for an output chain that contains
only sync or flush empty buffers.  But since 39d7eef2e332 every DATA frame has
the flush flag set on its last buffer, so there's no need any more in additional
flush buffers in the output queue and they can be skipped.

Note that such flush frames caused an incorrect $body_bytes_sent value.
src/http/ngx_http_spdy_filter_module.c