Jetty
  1. Jetty
  2. JETTY-309

Chunked encoding doesn't always flush the terminating 0

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.1.2rc2
    • Fix Version/s: 6.1.4rc0
    • Component/s: NIO
    • Labels:
      None
    • Number of attachments :
      3

      Description

      Looks like JETTY-274 isn't fixed yet: with the SVN changes as of revision 1770, I have another reproducible case, this time with a better packet capture, hopefully.

      In the attached capture, notice the three minute delay between packets #282 and #283, and that the only content in packet #283 is the terminating chunk length. The three minute delay is due to the client timeout: it closes the connection after three minutes, at which point jetty flushes the buffer. The data sat in the server the whole time.

      1. chunked.cap
        106 kB
        Anders Wallgren
      2. chunked.pkt
        107 kB
        Anders Wallgren
      3. jetty-309.patch
        2 kB
        Greg Wilkins

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Greg Wilkins
            Reporter:
            Anders Wallgren
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: