Repository: trafficserver Updated Branches: refs/heads/master 7115b366b -> 56109f1c1
TS-4141: Null check fix. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/56109f1c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/56109f1c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/56109f1c Branch: refs/heads/master Commit: 56109f1c1dbde685cea35051f242d6f7e1c9821c Parents: 7115b36 Author: shinrich <[email protected]> Authored: Sun Jan 17 19:45:04 2016 -0600 Committer: shinrich <[email protected]> Committed: Sun Jan 17 19:45:04 2016 -0600 ---------------------------------------------------------------------- proxy/http/HttpSM.cc | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/56109f1c/proxy/http/HttpSM.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index cc72f6d..a5208f3 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -5622,6 +5622,9 @@ HttpSM::attach_server_session(HttpServerSession *s) // Propagate the per client IP debugging if (ua_session) s->get_netvc()->control_flags = get_cont_flags(); + else { // If there is no ua_session no sense in continuing to attach the server session + return; + } // Set the mutex so that we have something to update // stats with
