[
https://issues.apache.org/jira/browse/TS-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122586#comment-15122586
]
ASF GitHub Bot commented on TS-4135:
------------------------------------
GitHub user myraid opened a pull request:
https://github.com/apache/trafficserver/pull/442
[TS-4135] fix redirect coredump
@bgaff @shukitchan @sudheerv can you review.
Removing TSMlocRelease is harmless as it s a no-op. Until we come up with a
better way of cleanup lets not release the mloc for request and response
headers.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/myraid/trafficserver TS-4135
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/442.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #442
----
commit b4b5204029feff8aa451c1105e45bd28e67c5437
Author: Sandeep Davu <[email protected]>
Date: 2016-01-29T00:13:00Z
[TS-4135] fix redirect coredump
----
> C++ api coredumps when used with other plugins using TSHttpTxnRedirectUrlSet.
> -----------------------------------------------------------------------------
>
> Key: TS-4135
> URL: https://issues.apache.org/jira/browse/TS-4135
> Project: Traffic Server
> Issue Type: Bug
> Components: CPP API
> Reporter: Sandeep Davu
> Assignee: Brian Geffon
> Labels: crash
> Fix For: 6.2.0
>
>
> There are multiple TS_EVENT_HTTP_SEND_REQUEST_HDR and
> TS_EVENT_HTTP_READ_RESPONSE_HDR for plugins that use TSHttpTxnRedirectUrlSet.
> Transaction object ignores these events.
> Ideally these events should be handled by reinitializing the server_request
> and server_response.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)