Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6756771

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6u4, 7
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: