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

   **[Dmitry 
Potapov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hirthwork)**
 opened 
**[HTTPCORE-377](https://issues.apache.org/jira/browse/HTTPCORE-377?redirect=false)**
 and commented
   
   According to 
http://docs.oracle.com/javase/8/docs/api/java/net/StandardSocketOptions.html#SO_LINGER
 linger option is disabled by default. Currently if SocketConfig.soLinger is 
set to zero (default value is -1), then Socket.setSoLinger(false, 0) will be 
called, so linger will be disabled, which is undesirable. My suggestion is 
interpret zero soLinger value as Socket.setSoLinger(true, 0).
   
   I understand that this change will break backward compatibility of config 
interpretation, but can we have this in 4.4?
   
   
   ---
   
   **Affects:** 4.3.2
   
   **Attachments:**
   - 
[httpcore-enable-linger.patch](https://issues.apache.org/jira/secure/attachment/12640293/httpcore-enable-linger.patch)
 (_1.33 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