jira-importer opened a new issue, #1208:
URL: https://github.com/apache/httpcomponents-core/issues/1208

   **[Chris 
Ridd](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=chrisridd)** 
opened 
**[HTTPCORE-685](https://issues.apache.org/jira/browse/HTTPCORE-685?redirect=false)**
 and commented
   
   When I run a Qualys VMDR scan against your example `NHttpFileServer` server, 
which is adjusted to only allow TLSv1.3, I see the two I/O-dispatch threads 
spinning, and a number of sockets (~40) never closing.
   
   The adjusted example code is attached:  [^AsyncExample.java]
   
   The I/O dispatch threads are consistently inside 
`SSLIOSession.doHandshake()` and handshaking is `true` and HandshakeStatus is 
`NOT_HANDSHAKING`. The threads seem to enter this code for every "bad" 
connection, and then repeat it all over again making no progress and keeping 
the sockets open.
   
   As far as I see - the Qualys tests are sadly not open source - Qualys is 
just doing ~ 2000 HTTPS GET requests with different paths, apparently looking 
for known insecure applications. It is unclear what's special about the failing 
connections.
   
   If I run the [^SyncExample.java] server instead, the scan completes 
successfully.
   
   If you can suggest any instrumentation that will gain some insights on this 
problem, I will be happy to assist.
   
   
   ---
   
   **Affects:** 4.4.13, 4.4.14
   
   **Attachments:**
   - 
[AsyncExample.java](https://issues.apache.org/jira/secure/attachment/13033267/AsyncExample.java)
 (_9.37 kB_)
   - 
[my.keystore](https://issues.apache.org/jira/secure/attachment/13033400/my.keystore)
 (_2.52 kB_)
   - 
[SyncExample.java](https://issues.apache.org/jira/secure/attachment/13033266/SyncExample.java)
 (_9.00 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to