You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2010/01/21 20:22:54 UTC

[jira] Commented: (TS-98) trafficserver should follow redirects when a special header is provided

    [ https://issues.apache.org/jira/browse/TS-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803438#action_12803438 ] 

Bryan Call commented on TS-98:
------------------------------

I reviewed the patch and here are some comments:

1. do a strlen(url) + 1 once and assign that to a const size_t for the operations on the size
2. use 2 space indentation instead of 4 space

> trafficserver should follow redirects when a special header is provided 
> ------------------------------------------------------------------------
>
>                 Key: TS-98
>                 URL: https://issues.apache.org/jira/browse/TS-98
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Wendy Huang
>         Attachments: code_diff.txt
>
>
> Some people need a service such that if the Origin Server (OS) returns back a particular HTTP
> response code or HTTP response header, TS simply redirects the request to another Origin Server and serves the
> response that the new OS responds with. 
> it is prefered to be a response header instead of a response error code, since changing the meaning of an
> existing http response error code is undesirable.

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