You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/02/20 18:13:42 UTC

[GitHub] astroza opened a new issue #3356: Grove: Parent request timeout is not working

astroza opened a new issue #3356: Grove: Parent request timeout is not working
URL: https://github.com/apache/trafficcontrol/issues/3356
 
 
   Hi,
   
      I have tried to use all the config parameters documented on grove README to set a parent request timeout without success.
   
   - parent_request_timeout_ms: no effect
   - timeout_ms on remap and rules: no effect
   
   I took a glance at cache/retryinggetter.go and web/util.go and I suspect that any timeout param is considered, specifically on web.Request. RemappingProducer.GetNext does not consider any timeout at HTTP Transport creation, either:
   ```
   newURI, proxyURL, transport := p.rule.URI(p.oldURI, r.URL.Path, r.URL.RawQuery, p.failures)
   ```
   
   I made a ugly hack to limit to 5 seconds the response waiting time to get over the issue for now:
   https://github.com/nedmedia/trafficcontrol/commit/f08023171ba30accdf7278320156af06aa2f7e3c
   
   but I wonder if I missing something, can you guys confirm that? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services