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

   **[Jay 
Modi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jaymode)** 
opened 
**[HTTPCORE-571](https://issues.apache.org/jira/browse/HTTPCORE-571?redirect=false)**
 and commented
   
   I've been doing some testing with TLSv1.3 and came across some interesting 
behavior in the OpenJDK SSLEngine running in server mode and being accessed 
with HttpClient. The server side winds up in a loop trying to wrap data to send 
the close. I tracked down the trigger for the issue to the shutdown of the 
input and output on the socket manually before closing. I'll also be reporting 
this on the OpenJDK mailing list as that's where the real issue is.
   
    
   
   However, I'm wondering if as an improvement the close() method of 
BHttpConnectionBase could special case SSLSocket? I came across 
[HTTPCORE-22](https://issues.apache.org/jira/browse/HTTPCORE-22), which 
mentions that this would throw an UnsupportedOperationException in some JDKs 
when used with a SSLSocket, so maybe just doing an instanceof check and calling 
close() if it is an SSLSocket might be best?
   
   
   ---
   
   **Affects:** 4.4.11
   


-- 
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