MCPcopy Create free account
hub / github.com/apache/trafficserver / get_server_connect_timeout

Method get_server_connect_timeout

src/proxy/http/HttpSM.cc:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239ink_hrtime
240HttpSM::get_server_connect_timeout()
241{
242 ink_hrtime retval = 0;
243 if (t_state.api_txn_connect_timeout_value != -1) {
244 retval = HRTIME_MSECONDS(t_state.api_txn_connect_timeout_value);
245 } else {
246 retval = HRTIME_SECONDS(t_state.txn_conf->connect_attempts_timeout);
247 }
248 return retval;
249}
250
251HttpSM::HttpSM() : Continuation(nullptr), vc_table(this) {}
252

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected