-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b25
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8344378 | 21.0.7-oracle | Abhishek N | P4 | Resolved | Fixed | b01 |
JDK-8346641 | 21.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | master |
JDK-8344472 | 17.0.15-oracle | Abhishek N | P4 | Resolved | Fixed | b01 |
JDK-8346648 | 17.0.15 | Goetz Lindenmaier | P4 | Resolved | Fixed | master |
Server is: /127.0.0.1:33557
Verifying communication with server
<html><body><p>Hello World!</body></html>
Communication with server OK
Pretending the server is a proxy...
Verifying communication with proxy
<html><body><p>Hello World!</body></html>
Communication with proxy OK
Real test begins here.
Setting up request with HttpClient for version: HTTP_1_1
Sending request with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Sending next request (2) with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Sending next request (3) with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Sending next request (4) with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
PASSED: Proxy received only one connection from: [/127.0.0.1:45542]
===== Testing with HTTP_2
Server is: /127.0.0.1:33557
Verifying communication with server
<html><body><p>Hello World!</body></html>
Communication with server OK
Pretending the server is a proxy...
Verifying communication with proxy
<html><body><p>Hello World!</body></html>
Communication with proxy OK
Real test begins here.
Setting up request with HttpClient for version: HTTP_2
Sending request with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Sending next request (2) with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Sending next request (3) with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Sending next request (4) with HttpClient: http://some.host.that.does.not.exist:4242/foo/x GET
Got response
Received: <html><body><p>Hello World!</body></html>
Server stopped
----------System.err:(14/1081)----------
Unexpected connection count: 5
Connections: [/127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45562]
java.lang.AssertionError: Expected 4: [/127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45562]
at PlainProxyConnectionTest.test(PlainProxyConnectionTest.java:265)
at PlainProxyConnectionTest.main(PlainProxyConnectionTest.java:102)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
JavaTest Message: Test threw exception: java.lang.AssertionError: Expected 4: [/127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45562]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.AssertionError: Expected 4: [/127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45552, /127.0.0.1:45562]
- backported by
-
JDK-8344378 java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
- Resolved
-
JDK-8344472 java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
- Resolved
-
JDK-8346641 java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
- Resolved
-
JDK-8346648 java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
- Resolved
- links to
-
Commit(master) openjdk/jdk17u-dev/21f2c1bb
-
Commit(master) openjdk/jdk21u-dev/e83e6bef
-
Commit(master) openjdk/jdk/59ffac84
-
Review(master) openjdk/jdk17u-dev/3146
-
Review(master) openjdk/jdk21u-dev/1265
-
Review(master) openjdk/jdk/22003