Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 21344 invoked from network); 13 Oct 2005 16:14:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2005 16:14:34 -0000 Received: (qmail 22554 invoked by uid 500); 13 Oct 2005 16:14:33 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 22501 invoked by uid 500); 13 Oct 2005 16:14:33 -0000 Mailing-List: contact dev-help@directory.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 dev@directory.apache.org Received: (qmail 22490 invoked by uid 99); 13 Oct 2005 16:14:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 09:14:31 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C7523516 for ; Thu, 13 Oct 2005 18:14:09 +0200 (CEST) Message-ID: <891843055.1129220049812.JavaMail.jira@ajax.apache.org> Date: Thu, 13 Oct 2005 18:14:09 +0200 (CEST) From: "Trustin Lee (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRMINA-85) SSLFilter race condition In-Reply-To: <1095967763.1125575225514.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRMINA-85?page=all ] Trustin Lee updated DIRMINA-85: ------------------------------- Comment: was deleted > SSLFilter race condition > ------------------------ > > Key: DIRMINA-85 > URL: http://issues.apache.org/jira/browse/DIRMINA-85 > Project: Directory MINA > Type: Bug > Versions: 0.9 > Environment: Java 5, FC3 x86-64 > Reporter: Vinod Panicker > Assignee: Trustin Lee > Priority: Blocker > Fix For: 0.8 > > I'm facing a race condition in SSLFilter. Basically I've done a "STARTTLS" kind of implementation in which SSL is enabled over an existing plain-text connection. The server tells the client to start the SSL negotiation via the application protocol and puts an SSLFilter over the connection to handle the handshake. > The race condition occurs when the client sends the SSL handshake even before the SSLFilter is implemented on the connection. This data is sent to the IoHandler and causes all sorts of problems. Ultimately the session is in limbo - it has to be closed. > A solution would be to stall the processing of incoming/outgoing data on the session till the filter is implemented successfully. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira