Repository: trafficserver Updated Branches: refs/heads/6.0.x 3348324bc -> f7a0cc9ac
TS-4056: remove alloc_cache from NetAccept This closes #366 (cherry picked from commit f17e7c6ddf8d771b3dc21b59360e982c55423c46) Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f7a0cc9a Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f7a0cc9a Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f7a0cc9a Branch: refs/heads/6.0.x Commit: f7a0cc9ac1b6b2e4c3710a5208b4caa9a463c959 Parents: 3348324 Author: Oknet Xu <[email protected]> Authored: Mon Dec 14 19:17:16 2015 -0800 Committer: Bryan Call <[email protected]> Committed: Mon Dec 14 19:34:06 2015 -0800 ---------------------------------------------------------------------- proxy/http/HttpSM.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f7a0cc9a/proxy/http/HttpSM.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index 8ba5eaa..9402f0a 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -5249,7 +5249,7 @@ HttpSM::handle_server_setup_error(int event, void *data) // In case of TIMEOUT, the iocore sends back // server_entry->read_vio instead of the write_vio // if (vio->op == VIO::WRITE && vio->ndone == 0) { - if (server_entry->write_vio->nbytes > 0 && server_entry->write_vio->ndone == 0) { + if (server_entry->write_vio && server_entry->write_vio->nbytes > 0 && server_entry->write_vio->ndone == 0) { t_state.current.state = HttpTransact::CONNECTION_ERROR; } else { t_state.current.state = HttpTransact::INACTIVE_TIMEOUT;
