[
https://issues.apache.org/jira/browse/TS-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13181149#comment-13181149
]
James Peach commented on TS-1043:
---------------------------------
TSFetchRespGet() returns different results depending on whether you asked for
AFTER_HEADER or AFTER_BODY. This patch has the incompatible side-effect of
making it consistently return the result from the AFTER_HEADER case. Sigh.
We probably should reject this patch.
> PATCH: teach TSFetchUrl to use the content-length to find the after_body event
> ------------------------------------------------------------------------------
>
> Key: TS-1043
> URL: https://issues.apache.org/jira/browse/TS-1043
> Project: Traffic Server
> Issue Type: Improvement
> Components: HTTP
> Reporter: James Peach
> Fix For: 3.1.2
>
> Attachments:
> 0005-TSFetchUrl-use-content-length-to-fire-after_body-eve.patch
>
>
> TSFetchUrl() does not fire the after_body event until the TCP connection is
> closed. The fix is to check the content-length when we receive more bytes and
> to fire the after_body event when all the byte are received.
> This looks like https://issues.apache.org/jira/browse/TS-817 and possibly
> https://issues.apache.org/jira/browse/TS-912
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira