Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-147

Problems with unhandled POST/PUT in ThrottlingHttpServiceHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-beta1
    • 4.0-beta2
    • HttpCore NIO
    • None

    Description

      I haven't produced any bugs, but following the code it seems like it's a bug..

      If a POST/PUT (other other entity-enclosing request) comes in that doesn't have an HttpRequestHandler, it looks like a response SC_NOT_IMPLEMENTED will be sent. Then it flows through and the connState is reset, but not all the data could have been read out of the inbuffer. This might cause further requests to read the wrong stuff (ie, read the rest of the entity nstead of the next GET).

      Attachments

        Activity

          People

            Unassigned Unassigned
            sberlin Sam Berlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: