Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 49520 invoked from network); 8 Mar 2005 09:28:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Mar 2005 09:28:33 -0000 Received: (qmail 73704 invoked by uid 500); 8 Mar 2005 09:28:30 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 73641 invoked by uid 500); 8 Mar 2005 09:28:29 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 73597 invoked by uid 99); 8 Mar 2005 09:28:29 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,URIBL_SBL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of trustin@gmail.com designates 64.233.184.194 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.194) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 01:28:28 -0800 Received: by wproxy.gmail.com with SMTP id 69so1403573wri for ; Tue, 08 Mar 2005 01:28:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=JoO0vYA4FH0g7eZGqs2XY3lECrre/geaNQ0STvuuUPvpnu5Rng7u3KEMgSqdSDZrTCsw9QW4MTlIP5RFXQpjk1JrJ8zm5/sZwpN99sOWeUdMvla0WEn1oF9lWTGtnQ1m3v0IytdrK6jPPiB/RqP8G+NAFHKxS5opw+tS0J8IDE0= Received: by 10.54.39.78 with SMTP id m78mr39400wrm; Tue, 08 Mar 2005 01:28:25 -0800 (PST) Received: by 10.54.21.58 with HTTP; Tue, 8 Mar 2005 01:28:25 -0800 (PST) Message-ID: <768dcb2e0503080128487a245a@mail.gmail.com> Date: Tue, 8 Mar 2005 18:28:25 +0900 From: Trustin Lee Reply-To: Trustin Lee To: Apache Directory Developers List Subject: Re: [mina] An established connection was aborted by the software in your host machine In-Reply-To: <0eff1ac1c5a3bb7e3340dce876e1d4d3@minq.se> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4224AAB2.9040700@bellsouth.net> <00c8ae32c950540a4be3e06df9aea584@minq.se> <42250265.9020208@apache.org> <40bd05de3460aee63d7853d613018a31@minq.se> <768dcb2e05030719223c0577c6@mail.gmail.com> <768dcb2e05030801193357728b@mail.gmail.com> <0eff1ac1c5a3bb7e3340dce876e1d4d3@minq.se> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 8 Mar 2005 10:24:37 +0100, Jan Andersson wrote: > > >> I can't see any way to set the socket timeout in Mina though? > >> Is there a way or do I have to change the Mina source directly? > > > > You'll have to down-cast your SessionConfig to SocketSessionConfig. > > Still don't see any setSoTimeout() or similar in SocketSessionConfig? > May be I'm blind? ;) Oops, yes, you're right. I was thinking wrong. There is no SoTimeout property there becaue MINA works in non-blocking mode. Does SoTimeout affect the behavior even in non-blocking mode? I'm not sure, but it worths a try. You'll have to modify the SocketIoProcessor. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/