Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1847

Broken IOBuf handling of headers >4Kb

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.4
    • Core
    • None

    Description

      Observed symptom described at http://mail-archives.apache.org/mod_mbox/trafficserver-dev/201304.mbox/browser
      TSHttpHdrPrint fails with header buffer in excess of 4k.

      Specifically, when the do { } loop at lines 3603-3617 of InkAPI.cc executes more than once, data read in all but the last iteration are lost.

      Diagnosis: MIOBuffer::fill is trashing the buffer by moving _writer to the last buffer in the list!

      Attachments

        Activity

          People

            nick@webthing.com Nick Kew
            nick@webthing.com Nick Kew
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: