-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8302330 | 11.0.19 | Goetz Lindenmaier | P4 | Resolved | Fixed | b02 |
JDK-8326679 | 8u421 | Abhishek N | P4 | Resolved | Fixed | b01 |
Occasionally, a test server may receive traffic which does not come from its expected client. Ideally, servers should be resilient to that situation.
The MultiThreadTest.java server attempts to count the number of connections it receives. But this will not work if some other process (port scanner etc... attempts to connect to the server).
The server could be changed to ignore connections that don't come from the expected client. It can do so by verifying whether the expected URL path is present in the headers.
The MultiThreadTest.java server attempts to count the number of connections it receives. But this will not work if some other process (port scanner etc... attempts to connect to the server).
The server could be changed to ignore connections that don't come from the expected client. It can do so by verifying whether the expected URL path is present in the headers.
- backported by
-
JDK-8302330 sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic
-
- Resolved
-
-
JDK-8326679 sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic
-
- Resolved
-
- relates to
-
JDK-8223783 sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections
-
- Resolved
-