Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-599

Empty reply from server with Java7 and xnio 3.3.3.Final

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.3.10.Final
    • None
    • None
    • Hide

      Make sure you are using Java7

      java -version
      https://github.com/snicoll-scratches/test-undertow-java7
      cd test-undertow-java7
      mvn spring-boot:run
      curl -v :8080
      
      Show
      Make sure you are using Java7 java -version https://github.com/snicoll-scratches/test-undertow-java7 cd test-undertow-java7 mvn spring-boot:run curl -v :8080

    Description

      There seems to be an issue with xnio 3.3.3.Final and Java7

      Here is a sample project. If you run it (mvn spring-boot:run), you'll get the following:

      curl -v :8080
      * Rebuilt URL to: :8080/
      *   Trying ::1...
      * Connected to  (::1) port 8080 (#0)
      > GET / HTTP/1.1
      > Host: :8080
      > User-Agent: curl/7.43.0
      > Accept: */*
      >
      * Empty reply from server
      * Connection #0 to host  left intact
      curl: (52) Empty reply from server
      

      If you run it with the previous version of xnio (mvn spring-boot:run -Pfix:

       curl -v :8080
      * Rebuilt URL to: :8080/
      *   Trying ::1...
      * Connected to  (::1) port 8080 (#0)
      > GET / HTTP/1.1
      > Host: :8080
      > User-Agent: curl/7.43.0
      > Accept: */*
      >
      < HTTP/1.1 200 OK
      < Connection: keep-alive
      < Content-Type: text/plain;charset=UTF-8
      < Content-Length: 11
      < X-Application-Context: application
      < Date: Wed, 23 Dec 2015 08:51:33 GMT
      <
      * Connection #0 to host  left intact
      Hello World%
      

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              stephane.nicoll Stéphane Nicoll (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: