https://bz.apache.org/bugzilla/show_bug.cgi?id=59564

            Bug ID: 59564
           Summary: HttpServletRequest.getPart() always returns null with
                    HTTP/2
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: Macintosh
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: thad.humphr...@gmail.com

If I enable HTTP/2 via UpgradeProtocol, HttpServletRequest.getPart() always
returns null. This occurs in my own code as well as in
org.apache.catalina.manager.HTMLManagerServlet (so, a *.WAR cannot be deployed
if HTTP/2 is enabled). When <UpgradeProtocol...> is commented out, upload
works.

My connector is

<!-- NIO connector with OpenSSL -->
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
           maxThreads="200" SSLEnabled="true" compression="on"
           scheme="https" secure="true">
  <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
  <SSLHostConfig honorCipherOrder="false">
    <Certificate certificateKeyFile="conf/foo-nopp.pem"
                 certificateFile="conf/foo.pem"
                 type="RSA" />
  </SSLHostConfig>
</Connector>

The failure occurs with either Http11NioProtocol or Http11Nio2Protocol.

I'm am running Tomcat 8.5, Java 1.8.0_91, MacOS 10.10.5, and both Chrome 50 and
Firefox 46.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to