[
https://issues.apache.org/jira/browse/TS-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137595#comment-14137595
]
Sudheer Vinukonda commented on TS-3081:
---------------------------------------
{code}
void
FetchSM::InvokePluginExt(int fetch_event)
{
///.....
if (resp_is_chunked > 0) {
if (!chunked_handler.chunked_reader->read_avail())
goto out;
} else if (!resp_reader->read_avail()) {
goto out;
}
//..
{code}
Verified a simple fix to pass BODY_DONE event
"contp->handleEvent(TS_FETCH_EVENT_EXT_BODY_DONE, this);" when there's an
EOS/READ_COMPLETE event and there's no more read_avail.
if (read_complete_event)
contp->handleEvent(TS_FETCH_EVENT_EXT_BODY_DONE, this);
> ATS doesn't send FIN flag to indicate data complete to the client in some
> cases..
> ---------------------------------------------------------------------------------
>
> Key: TS-3081
> URL: https://issues.apache.org/jira/browse/TS-3081
> Project: Traffic Server
> Issue Type: Bug
> Components: SPDY
> Reporter: Sudheer Vinukonda
>
> FetchSM cleans itself up without sending a TS_FETCH_EVENT_EXT_BODY_DONE event
> when there's no more data available to read in the ioBufferReader.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)