[ https://issues.apache.org/jira/browse/TS-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Susan Hinrichs resolved TS-1883. -------------------------------- Resolution: Not A Problem > TLS origin connections do not support connection timeouts > --------------------------------------------------------- > > Key: TS-1883 > URL: https://issues.apache.org/jira/browse/TS-1883 > Project: Traffic Server > Issue Type: Bug > Components: Core, SSL > Reporter: James Peach > Assignee: Susan Hinrichs > Fix For: 7.0.0 > > > In {{proxy/http/HttpSM.cc}}, we can see that origin connections do not > support timeouts if the scheme is HTTPS: > {code} > void > HttpSM::do_http_server_open(bool raw) > { > ... > if (t_state.scheme == URL_WKSIDX_HTTPS) { > DebugSM("http", "calling sslNetProcessor.connect_re"); > connect_action_handle = sslNetProcessor.connect_re(this, // state > machine > > &t_state.current.server->addr.sa, // addr + port > &opt); > } else { > ... > // Setup the timeouts > // Set the inactivity timeout to the connect timeout so that we > // we fail this server if it doesn't start sending the response > // header > MgmtInt connect_timeout; > if (t_state.method == HTTP_WKSIDX_POST || t_state.method == > HTTP_WKSIDX_PUT) { > connect_timeout = t_state.txn_conf->post_connect_attempts_timeout; > } else if (t_state.current.server == &t_state.parent_info) { > connect_timeout = t_state.http_config_param->parent_connect_timeout; > } else { > if (t_state.pCongestionEntry != NULL) > connect_timeout = t_state.pCongestionEntry->connect_timeout(); > else > connect_timeout = t_state.txn_conf->connect_attempts_timeout; > } > DebugSM("http", "calling netProcessor.connect_s"); > connect_action_handle = netProcessor.connect_s(this, // state > machine > > &t_state.current.server->addr.sa, // addr + port > connect_timeout, &opt); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)