com.sun.net.httpserver.HttpServer should handle POSTs larger than 2Gig

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7
    • Affects Version/s: 6u4, 7
    • Component/s: core-libs
    • b40
    • generic, sparc
    • generic, solaris_10
    • Verified

      com.sun.net.httpserver.HttpServer will throw a NumberFormatException in its log if it receives a (POST) request with its content-length header greater that 2 gigabytes. This is because the server implementation uses ints to represent the value of the request content-length.

            Assignee:
            Chris Hegarty
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: