Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      Hi,

      It seems that PUT requests that contain a large body are truncated.
      Temporarily, I resolved with the following workaround in the method HttpRequest.of ()

      if (requestLine.contains ("POST") | | requestLine.contains ("PUT")) {
      int ContentLength = Integer.parseInt (generalHeaders.get ("content-length"));
      if (ContentLength> body.length ())

      { return new PartialHttpRequest (requestLine, generalHeaders, body); }

      }

      I hope it can be helpful

        Attachments

        1. deft-153_preview.patch
          3 kB
          Michele ZuccalĂ 

          Activity

            People

            • Assignee:
              jmeehan Johnathan Meehan
              Reporter:
              niklas Niklas Gustavsson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: