[ 
https://issues.apache.org/jira/browse/TS-4665?focusedWorklogId=26771&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26771
 ]

ASF GitHub Bot logged work on TS-4665:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Aug/16 14:37
            Start Date: 22/Aug/16 14:37
    Worklog Time Spent: 10m 
      Work Description: GitHub user shinrich opened a pull request:

    https://github.com/apache/trafficserver/pull/888

    TS-4665: Http2 not terminating stream with short chunked response.

    The key fix was added with TS-4729.   This is the additional check on 
is_done around line 529 of Http2Stream.cc. 
    
    To make the fix stable required some additional changes to avoid sending 
write updates on shutdown when the client is already down and converting some 
direct handleEvent calls to sending events to avoid deleting the SM on the 
stack.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shinrich/trafficserver ts-4665

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/888.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 #888
    
----

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 26771)
            Time Spent: 10m
    Remaining Estimate: 0h

> Http2 not terminating stream with short chunked response
> --------------------------------------------------------
>
>                 Key: TS-4665
>                 URL: https://issues.apache.org/jira/browse/TS-4665
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP/2
>            Reporter: Susan Hinrichs
>            Assignee: Susan Hinrichs
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We saw this in production.  The origin returned the chunked response 
> immediately and it was all delivered with the header to the Http2Stream 
> logic.  It didn't set the END_STREAM flag and the stream wasn't closed until 
> the timeout triggered.
> Fixing this required some additional checks to avoid shutdown race conditions.



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

Reply via email to