trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Re: git commit: TS-1424: Fix KeepAlive 4-tuple collision for transparent proxy
Date Mon, 26 Aug 2013 19:30:01 GMT
On Aug 23, 2013, at 8:39 PM, amc@apache.org wrote:

> Updated Branches:
>  refs/heads/master 14c9cf2c8 -> f63b27d52
> 
> 
> TS-1424: Fix KeepAlive 4-tuple collision for transparent proxy
> 
[snip]
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f63b27d5/proxy/http/HttpSM.cc
> ----------------------------------------------------------------------
> diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
> index 92bd92c..ab120db 100644
> --- a/proxy/http/HttpSM.cc
> +++ b/proxy/http/HttpSM.cc
> @@ -1712,7 +1712,34 @@ HttpSM::state_http_server_open(int event, void *data)
>   case VC_EVENT_ERROR:
>   case NET_EVENT_OPEN_FAILED:
>     t_state.current.state = HttpTransact::CONNECTION_ERROR;
> -    call_transact_and_set_next_state(HttpTransact::HandleResponse);
> +    // save the errno from the connect fail for future use (passed as negative value,
flip back)
> +    t_state.current.server->set_connect_fail(event == NET_EVENT_OPEN_FAILED ? -reinterpret_cast<intptr_t>(data)
: EREMOTEIO);
[snip]

According to ci.trafficserver.apache.org, FreeBSD and OmniOS do not have EREMOTEIO.

J


Mime
View raw message