Repository: trafficserver
Updated Branches:
  refs/heads/master 5cf8baf79 -> 545e9bafd


Removing unnecessary debug assert. This method (on errored requests) can be 
called without a server, so this check is technically wrong


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

Branch: refs/heads/master
Commit: 545e9bafd1777b2eef668898480a2e3c6bb8bbcc
Parents: 5cf8baf
Author: Brian Geffon <[email protected]>
Authored: Thu Oct 2 17:29:42 2014 -0700
Committer: Brian Geffon <[email protected]>
Committed: Thu Oct 2 17:29:42 2014 -0700

----------------------------------------------------------------------
 proxy/http/HttpTransact.cc | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/545e9baf/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 434576d..b1838e2 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -5529,8 +5529,6 @@ 
HttpTransact::initialize_state_variables_from_request(State* s, HTTPHdr* obsolet
   if (!s->server_info.name || s->redirect_info.redirect_in_process) {
     s->server_info.name = s->arena.str_store(host_name, host_len);
     s->server_info.port = incoming_request->port_get();
-  } else {
-    ink_assert(s->server_info.port != 0);
   }
 
   s->next_hop_scheme = s->scheme = 
incoming_request->url_get()->scheme_get_wksidx();

Reply via email to