Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 91176 invoked from network); 17 Nov 2009 01:02:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 01:02:07 -0000 Received: (qmail 24838 invoked by uid 500); 17 Nov 2009 01:02:07 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 24753 invoked by uid 500); 17 Nov 2009 01:02:07 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 24733 invoked by uid 99); 17 Nov 2009 01:02:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 01:02:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 01:02:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E2B0D234C4A7 for ; Mon, 16 Nov 2009 17:01:43 -0800 (PST) Message-ID: <1830868202.1258419703927.JavaMail.jira@brutus> Date: Tue, 17 Nov 2009 01:01:43 +0000 (UTC) From: "thinker0 (JIRA)" To: dev@hc.apache.org Subject: [jira] Closed: (HTTPCLIENT-890) CLONE -Allow configuration of SO_LINGER (client socket close ReSet) In-Reply-To: <1354568614.1258034620009.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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