You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/21 14:29:20 UTC

[jira] [Work logged] (TS-4217) END_STREAM flag is sent twice

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

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

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

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

    TS-4217: Change stream state after sending HEADERS frame

    Change stream state to CLOSED after sending a HEADERS w/ END_STREAM flag to
    avoid sending a unnecessary DATA frame w/ END_STREAM flag.

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

    $ git pull https://github.com/maskit/trafficserver ts4217

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

    https://github.com/apache/trafficserver/pull/886.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 #886
    
----
commit f5c2a2d8d3b4dd4afc1c32ec32627d56c16f78e0
Author: Masakazu Kitajo <ma...@apache.org>
Date:   2016-08-21T14:15:28Z

    TS-4217: Change stream state after sending HEADERS frame
    
    Change stream state to CLOSED after sending a HEADERS w/ END_STREAM flag to
    avoid sending a unnecessary DATA frame w/ END_STREAM flag.

----


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

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

> END_STREAM flag is sent twice
> -----------------------------
>
>                 Key: TS-4217
>                 URL: https://issues.apache.org/jira/browse/TS-4217
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP/2
>    Affects Versions: 5.3.2, 6.1.1
>            Reporter: Masakazu Kitajo
>            Assignee: Masakazu Kitajo
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> END_STREAM flag is sent twice if a response has Content-Length header and its value is zero.
> The first one is on a HEADERS frame and the second one is on a DATA frame. The DATA frame should not be sent.



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