Project

General

Profile

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
854 854

  
855 855
		if (hctx->wb->bytes_out == hctx->wb_reqlen) {
856 856
			fdevent_event_clr(srv->ev, &(hctx->fde_ndx), hctx->fd, FDEVENT_OUT);
857
			shutdown(hctx->fd, SHUT_WR);/* future: remove if HTTP/1.1 request */
857
			// shutdown(hctx->fd, SHUT_WR);/* future: remove if HTTP/1.1 request */
858 858
			proxy_set_state(srv, hctx, PROXY_STATE_READ);
859 859
		} else {
860 860
			off_t wblen = hctx->wb->bytes_in - hctx->wb->bytes_out;