Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27277

[GSS](7.4.z) UNDERTOW-2397 - Handle Huffman encoding properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.20.CR1, 7.4.20.GA
    • 7.4.17.GA
    • Undertow
    • None
    • False
    • None
    • False
    • +
    • Hide

      1. Deploy headertest.war on EAP 7.4.16
      2. Request the following using HTTP/2 via curl and note the empty reply:

      $ curl -v --http2-prior-knowledge localhost:8080/headertest/badcontent.jsp
      *   Trying 127.0.0.1...
      * TCP_NODELAY set
      * Connected to localhost (127.0.0.1) port 8080 (#0)
      * Using HTTP2, server supports multi-use
      * Connection state changed (HTTP/2 confirmed)
      * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
      * Using Stream ID: 1 (easy handle 0x55657fb21710)
      > GET /headertest/badcontent.jsp HTTP/2
      > Host: localhost:8080
      > User-Agent: curl/7.61.1
      > Accept: */*
      > 
      * Connection state changed (MAX_CONCURRENT_STREAMS == 4294967295)!
      * Empty reply from server
      * Closing connection 0
      curl: (52) Empty reply from server
      
      Show
      1. Deploy headertest.war on EAP 7.4.16 2. Request the following using HTTP/2 via curl and note the empty reply: $ curl -v --http2-prior-knowledge localhost:8080/headertest/badcontent.jsp * Trying 127.0.0.1... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 8080 (#0) * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x55657fb21710) > GET /headertest/badcontent.jsp HTTP/2 > Host: localhost:8080 > User-Agent: curl/7.61.1 > Accept: */* > * Connection state changed (MAX_CONCURRENT_STREAMS == 4294967295)! * Empty reply from server * Closing connection 0 curl: (52) Empty reply from server

      Wrong type of indexing causes huffman codes to be usable only for entries from range 0-127.

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-support-aogburn Aaron Ogburn
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: