hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thinker0 (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HTTPCLIENT-890) CLONE -Allow configuration of SO_LINGER (client socket close ReSet)
Date Tue, 17 Nov 2009 01:01:43 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

thinker0 closed HTTPCLIENT-890.

thanks. ^^;

> CLONE -Allow configuration of SO_LINGER (client socket close ReSet)
> -------------------------------------------------------------------
>                 Key: HTTPCLIENT-890
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-890
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>         Environment: Operating System: All
> Platform: All
>            Reporter: thinker0
>            Priority: Minor
> There is currently no way to configure the SO_LINGER option on a socket.
> Please change the HttpClient class to allow the configuration of the SO_LINGER
> option on a socket, similar to the way the SO_TIMEOUT can be configured.
> Suggested extension to the interface of the HttpClient class:
> - Add method setSoLinger() to set the current setting for SO_LINGER. The method
> could accept one argument. A negative value could indicate that the SO_LINGER
> should be disabled.
> - Add method getSoLinger() that returns the current setting for SO_LINGER. A
> negative value would indicate that the SO_LINGER option is disabled.
> See:
> http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setSoLinger(boolean,%20int)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message