Return-Path: Delivered-To: apmail-hc-commits-archive@www.apache.org Received: (qmail 4860 invoked from network); 3 Feb 2009 22:44:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2009 22:44:58 -0000 Received: (qmail 45030 invoked by uid 500); 3 Feb 2009 22:44:58 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 45008 invoked by uid 500); 3 Feb 2009 22:44:58 -0000 Mailing-List: contact commits-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 commits@hc.apache.org Received: (qmail 44994 invoked by uid 99); 3 Feb 2009 22:44:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 14:44:58 -0800 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 22:44:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5E772238887D; Tue, 3 Feb 2009 22:44:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r740496 - /httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionRequestImpl.java Date: Tue, 03 Feb 2009 22:44:37 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090203224437.5E772238887D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olegk Date: Tue Feb 3 22:44:36 2009 New Revision: 740496 URL: http://svn.apache.org/viewvc?rev=740496&view=rev Log: Made all non-final instance variables volatile Modified: httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionRequestImpl.java Modified: httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionRequestImpl.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionRequestImpl.java?rev=740496&r1=740495&r2=740496&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionRequestImpl.java (original) +++ httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/SessionRequestImpl.java Tue Feb 3 22:44:36 2009 @@ -57,9 +57,9 @@ private final Object attachment; private final SessionRequestCallback callback; - private int connectTimeout; - private IOSession session = null; - private IOException exception = null; + private volatile int connectTimeout; + private volatile IOSession session = null; + private volatile IOException exception = null; public SessionRequestImpl( final SocketAddress remoteAddress,