You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/03/24 22:30:54 UTC

[jira] [Commented] (TS-3140) Traffic server crashes when there is a redirect response in cache

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

ASF subversion and git services commented on TS-3140:
-----------------------------------------------------

Commit 88c7a20cd768cea0724b39b4237ea3cb26c9f54e in trafficserver's branch refs/heads/5.2.x from shinrich
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=88c7a20 ]

TS-3140: Traffic Server asserts during response redirect.

Conflicts:
	CHANGES


> Traffic server crashes when there is a redirect response in cache
> -----------------------------------------------------------------
>
>                 Key: TS-3140
>                 URL: https://issues.apache.org/jira/browse/TS-3140
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 5.0.1
>            Reporter: zouyu
>            Assignee: Susan Hinrichs
>              Labels: crash, review
>             Fix For: 5.2.1, 5.3.0
>
>         Attachments: TS-3140-2.diff, TS-3140.diff
>
>
> Traffic server will crash in below steps:
> 1. Enable redirect and http cache, make sure that traffic server can cache redirect request & redirect response such as 302/307 response.
> 2. make a remap url in traffic server which will remap to a redirect url 'redirect_url_1' which points to 'www.google.com' ( note that 'www.google.com'  is also a redirect url which may point to 'www.google.com.sg')
> 3. make number_of_redirections=1 in records.config.
> 4. access the 'redirect_url_1'. At first time, after access it, traffic server will cache the redirect response such as 307.
> 5. try to access the  'redirect_url_1' again, this time traffic server will crash.
> The root cause is that in above case, traffic sever will check the cache in a loop definitely which will exhausted the stack space.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)