headers: don't special case header-only requests

Fixes #537.
This commit is contained in:
Jeff Kaufman
2013-11-08 11:21:52 -05:00
parent 6b29b5220d
commit 8021751d69
-4
View File
@@ -1109,10 +1109,6 @@ ngx_int_t ps_base_fetch_handler(ngx_http_request_t* r) {
ctx->write_pending = (rc == NGX_AGAIN);
if (r->header_only) {
ctx->fetch_done = true;
return rc;
}
ps_set_buffered(r, true);
}