You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Sudheer Vinukonda (JIRA)" <ji...@apache.org> on 2015/07/06 23:36:05 UTC
[jira] [Commented] (TS-3656) Activating follow redirection in send
server response hook does not work for post
[ https://issues.apache.org/jira/browse/TS-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615707#comment-14615707 ]
Sudheer Vinukonda commented on TS-3656:
---------------------------------------
Should this change be reverted from 6.0.x/master as it seems that it's breaking (causing issues on) normal POSTs?
Fwiw, as I mentioned already, supporting redirect follow for POSTs requires a lot of more analysis than the changes here.
> Activating follow redirection in send server response hook does not work for post
> ---------------------------------------------------------------------------------
>
> Key: TS-3656
> URL: https://issues.apache.org/jira/browse/TS-3656
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Reporter: Susan Hinrichs
> Assignee: Susan Hinrichs
> Fix For: 6.0.0
>
>
> If you have a plugin on the TS_HTTP_SEND_RESPONSE_HDR_HOOK, calls TSHttpTxnFollowRedirect(txn, 1), redirecting a POST request will fail.
> In the not so bad case, the POST request will be redirected to the new location, but the POST data will be lost.
> In the more bad case, ATS will crash.
> The issue is that the post_redirect buffers are freed early on. One could delay the post_redirect deallocation until later in the transaction.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)