You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Conan Wang (JIRA)" <ji...@apache.org> on 2011/08/06 22:43:27 UTC
[jira] [Created] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
---------------------------------------------------------------
Key: TS-906
URL: https://issues.apache.org/jira/browse/TS-906
Project: Traffic Server
Issue Type: Bug
Components: Configuration
Affects Versions: 2.0.0, 3.0.1
Reporter: Conan Wang
"proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom reassigned TS-906:
--------------------------------
Assignee: Leif Hedstrom
> ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
> ---------------------------------------------------------------
>
> Key: TS-906
> URL: https://issues.apache.org/jira/browse/TS-906
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 3.0.1, 2.0.0
> Reporter: Conan Wang
> Assignee: Leif Hedstrom
> Fix For: 3.1.0
>
>
> "proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
> Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-906:
-----------------------------
Attachment: TS-906.diff
Can you test the attached diff? I haven't tested it at all, so need someone to test / review it.
The patch also makes this configuration overridable per transaction (or per remap rule), I think that's important for this setting since you might only want to do this for some select set of URLs.
> ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
> ---------------------------------------------------------------
>
> Key: TS-906
> URL: https://issues.apache.org/jira/browse/TS-906
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 3.0.1, 2.0.0
> Reporter: Conan Wang
> Assignee: Leif Hedstrom
> Fix For: 3.1.0
>
> Attachments: TS-906.diff
>
>
> "proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
> Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-906:
-----------------------------
Backport to Version: 3.0.2
> ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
> ---------------------------------------------------------------
>
> Key: TS-906
> URL: https://issues.apache.org/jira/browse/TS-906
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 3.0.1, 2.0.0
> Reporter: Conan Wang
> Assignee: Leif Hedstrom
> Fix For: 3.1.0
>
> Attachments: TS-906.diff
>
>
> "proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
> Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
Posted by "Igor Galić (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Galić updated TS-906:
--------------------------
Backport to Version: (was: 3.0.2)
> ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
> ---------------------------------------------------------------
>
> Key: TS-906
> URL: https://issues.apache.org/jira/browse/TS-906
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 3.0.1, 2.0.0
> Reporter: Conan Wang
> Assignee: Igor Galić
> Fix For: 3.1.0, 3.0.2
>
> Attachments: TS-906.diff
>
>
> "proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
> Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-906:
-----------------------------
Fix Version/s: 3.1.0
> ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
> ---------------------------------------------------------------
>
> Key: TS-906
> URL: https://issues.apache.org/jira/browse/TS-906
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 3.0.1, 2.0.0
> Reporter: Conan Wang
> Assignee: Leif Hedstrom
> Fix For: 3.1.0
>
>
> "proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
> Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-906) ATS doesn't read
proxy.config.http.forward.proxy_auth_to_parent
Posted by "Conan Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080555#comment-13080555 ]
Conan Wang commented on TS-906:
-------------------------------
This diff works for me: ATS sent my Proxy-Authorization header to origin server when I enabled the config.
Tested in global records.config as well as remap.config with conf_remap plugin.
> ATS doesn't read proxy.config.http.forward.proxy_auth_to_parent
> ---------------------------------------------------------------
>
> Key: TS-906
> URL: https://issues.apache.org/jira/browse/TS-906
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 3.0.1, 2.0.0
> Reporter: Conan Wang
> Assignee: Leif Hedstrom
> Fix For: 3.1.0
>
> Attachments: TS-906.diff
>
>
> "proxy.config.http.forward.proxy_auth_to_parent" should work when we want ATS relay "Proxy-Authorization" header to parent proxy or origin server.
> Current ATS doesn't read this config and set it to 0 (disable) by default. As a result, HttpTransactHeaders::copy_header_fields always remove "Proxy-Authorization" when building requests to origin server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira