[
https://issues.apache.org/jira/browse/TS-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757723#comment-13757723
]
Leif Hedstrom commented on TS-2107:
-----------------------------------
Also, this looks a potential bug, it could trigger if the configuration is
changed and reloaded dynamically:
{code}
+ // is setted HttpConfig::m_master.transaction_header_active_timeout_in,
so should reset active_timeout_in
+ if (ua_session->get_netvc()->get_active_timeout() ==
HRTIME_SECONDS(HttpConfig::m_master.transaction_header_active_timeout_in)) {
{code}
If the config changes, this comparison might not be true any more. It feels
that the netvc needs to know which of the two potential active timeout "states"
it is actually in.
> add absolute proxy.config.http.transaction_active_timeout_in about request
> ---------------------------------------------------------------------------
>
> Key: TS-2107
> URL: https://issues.apache.org/jira/browse/TS-2107
> Project: Traffic Server
> Issue Type: New Feature
> Components: HTTP
> Affects Versions: 3.3.5
> Reporter: Bin Chen
> Assignee: Bin Chen
> Fix For: 5.0.0
>
> Attachments: TS-2107.patch
>
>
> Now, ts use proxy.config.http.transaction_active_timeout_in handle request
> and response transaction. But in some very bad network, we catch some log
> that it cost >30s to get ua_read_header_done, that is unacceptable, should be
> controled with some dedicated timeout in records.config.
> we world prefer to add proxy.config.http.transaction_header_timeout_in
> proxy.config.http.transaction_request_timeout_in
> {code}
> [Aug 6 22:11:46.698] Server {0x2b37cf0f9700} ERROR: [1366077161] Slow
> Request: url: http://xxxxx/853771125_1448036722.jpg status: 0 unique id:
> bytes: 0 fd: 0 client state: 0 server state: 0 ua_begin: 0.000
> ua_read_header_done: 46.790 cache_open_read_begin: 46.790
> cache_open_read_end: -1.000 dns_lookup_begin: -1.000 dns_lookup_end: -1.000
> server_connect: -1.000 server_first_read: -1.000 server_read_header_done:
> -1.000 server_close: -1.000 ua_close: 46.790 sm_finish: 46.790
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira