Repository: trafficserver
Updated Branches:
  refs/heads/master 36087159a -> 4d5504a0f


[TS-3060] - fix compile issue


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4d5504a0
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4d5504a0
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4d5504a0

Branch: refs/heads/master
Commit: 4d5504a0fdcc6751a0da1182203e1c4abef36af4
Parents: 3608715
Author: Sudheer Vinukonda <[email protected]>
Authored: Fri Oct 10 16:11:18 2014 +0000
Committer: Sudheer Vinukonda <[email protected]>
Committed: Fri Oct 10 16:11:18 2014 +0000

----------------------------------------------------------------------
 proxy/http/HttpSM.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4d5504a0/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 8a519a0..8abea10 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -2649,6 +2649,7 @@ HttpSM::tunnel_handler_post(int event, void *data)
 {
   STATE_ENTER(&HttpSM::tunnel_handler_post, event);
 
+  HttpTunnelProducer *p = tunnel.get_producer(ua_session);
   if (event != HTTP_TUNNEL_EVENT_DONE) {
     if (t_state.http_config_param->send_408_request_timeout_response) {
       Debug("http_tunnel", "cleanup tunnel in tunnel_handler_post");
@@ -2667,7 +2668,6 @@ HttpSM::tunnel_handler_post(int event, void *data)
   ink_assert(data == &tunnel);
   // The tunnel calls this when it is done
 
-  HttpTunnelProducer *p = tunnel.get_producer(ua_session);
   int p_handler_state = p->handler_state;
   tunnel_handler_post_or_put(p);
 

Reply via email to