Improve state machine around DNS lookups and handling of URL_REMAP_FOR_OS
-------------------------------------------------------------------------
Key: TS-905
URL: https://issues.apache.org/jira/browse/TS-905
Project: Traffic Server
Issue Type: Improvement
Components: DNS, HTTP
Reporter: Leif Hedstrom
The code around DNS lookups in the HTTP state machine is somewhat odd. The same
state is revisited at least twice in the case of a parent proxy lookup for
example, and the internal state is not reset in between such lookups. This
caused breakage of parent proxy when we added an API to bypass origin DNS
lookup, as a very obscure side effect.
Also, there's code in there for a remapping mode URL_REMAP_FOR_OS (2), which I
believe we have crippled, and it's unclear exactly when it would be used. We
should examine this, and either fix this mode, or disable it completely.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira