You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Manjesh Nilange (JIRA)" <ji...@apache.org> on 2010/02/12 00:46:27 UTC

[jira] Created: (TS-175) TS always sends port string 80 in Host header to OS irrespective of remap.config

TS always sends port string 80 in Host header to OS irrespective of remap.config
--------------------------------------------------------------------------------

                 Key: TS-175
                 URL: https://issues.apache.org/jira/browse/TS-175
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Manjesh Nilange
            Assignee: Manjesh Nilange
            Priority: Minor
         Attachments: explicit-port-80.patch

If I have this in my remap.config:

map http://ts.com http://real.com

TS always sends the Host header as "real.com:80" when sending the request to real.com. This is not correct - the Host string should exactly reflect what is specified in the remap.config.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TS-175) TS always sends port string 80 in Host header to OS irrespective of remap.config

Posted by "Manjesh Nilange (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manjesh Nilange reassigned TS-175:
----------------------------------

    Assignee: Leif Hedstrom  (was: Manjesh Nilange)

Leif, can you please review the patch? Thanks!

> TS always sends port string 80 in Host header to OS irrespective of remap.config
> --------------------------------------------------------------------------------
>
>                 Key: TS-175
>                 URL: https://issues.apache.org/jira/browse/TS-175
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Manjesh Nilange
>            Assignee: Leif Hedstrom
>            Priority: Minor
>         Attachments: explicit-port-80.patch
>
>
> If I have this in my remap.config:
> map http://ts.com http://real.com
> TS always sends the Host header as "real.com:80" when sending the request to real.com. This is not correct - the Host string should exactly reflect what is specified in the remap.config.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-175) TS always sends port string 80 in Host header to OS irrespective of remap.config

Posted by "Manjesh Nilange (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manjesh Nilange updated TS-175:
-------------------------------

    Attachment: explicit-port-80.patch

This patch gets the raw port from the mapping and sets it only if it is non-0 during remap.


> TS always sends port string 80 in Host header to OS irrespective of remap.config
> --------------------------------------------------------------------------------
>
>                 Key: TS-175
>                 URL: https://issues.apache.org/jira/browse/TS-175
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Manjesh Nilange
>            Assignee: Manjesh Nilange
>            Priority: Minor
>         Attachments: explicit-port-80.patch
>
>
> If I have this in my remap.config:
> map http://ts.com http://real.com
> TS always sends the Host header as "real.com:80" when sending the request to real.com. This is not correct - the Host string should exactly reflect what is specified in the remap.config.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-175) TS always sends port string 80 in Host header to OS irrespective of remap.config

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-175.
------------------------------

    Resolution: Fixed

> TS always sends port string 80 in Host header to OS irrespective of remap.config
> --------------------------------------------------------------------------------
>
>                 Key: TS-175
>                 URL: https://issues.apache.org/jira/browse/TS-175
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Manjesh Nilange
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.0.0a
>
>         Attachments: explicit-port-80.patch
>
>
> If I have this in my remap.config:
> map http://ts.com http://real.com
> TS always sends the Host header as "real.com:80" when sending the request to real.com. This is not correct - the Host string should exactly reflect what is specified in the remap.config.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-175) TS always sends port string 80 in Host header to OS irrespective of remap.config

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-175:
-----------------------------

    Fix Version/s: 2.0.0a

> TS always sends port string 80 in Host header to OS irrespective of remap.config
> --------------------------------------------------------------------------------
>
>                 Key: TS-175
>                 URL: https://issues.apache.org/jira/browse/TS-175
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Manjesh Nilange
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.0.0a
>
>         Attachments: explicit-port-80.patch
>
>
> If I have this in my remap.config:
> map http://ts.com http://real.com
> TS always sends the Host header as "real.com:80" when sending the request to real.com. This is not correct - the Host string should exactly reflect what is specified in the remap.config.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.