Project

General

Profile

Bug #2743 » mod_proxy-no-shutdown-1.4.41.patch

revert shutdown call in mod_proxy.c - flynn, 2016-08-02 08:49

View differences:

src/mod_proxy.c 2016-08-02 10:27:01.117233401 +0200
if (hctx->wb->bytes_out == hctx->wb_reqlen) {
fdevent_event_clr(srv->ev, &(hctx->fde_ndx), hctx->fd, FDEVENT_OUT);
shutdown(hctx->fd, SHUT_WR);/* future: remove if HTTP/1.1 request */
// shutdown(hctx->fd, SHUT_WR);/* future: remove if HTTP/1.1 request */
proxy_set_state(srv, hctx, PROXY_STATE_READ);
} else {
off_t wblen = hctx->wb->bytes_in - hctx->wb->bytes_out;
(1-1/2)