Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 68321 invoked from network); 3 Nov 2005 21:33:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Nov 2005 21:33:39 -0000 Received: (qmail 59606 invoked by uid 500); 3 Nov 2005 21:33:33 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 59533 invoked by uid 500); 3 Nov 2005 21:33:32 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 59522 invoked by uid 99); 3 Nov 2005 21:33:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 13:33:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.0.86.83] (HELO tango.wilshire.com) (209.0.86.83) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 13:33:27 -0800 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by tango.wilshire.com (8.13.4/8.12.3/Debian-6.6) with ESMTP id jA3LWgWU011425 for ; Thu, 3 Nov 2005 13:32:42 -0800 Received: from bbarkerxp (foundry.wilshire.com [192.168.1.129]) by harpy.wilshire.com (8.12.10/8.12.3) with SMTP id jA3LWgsg004741 for ; Thu, 3 Nov 2005 13:32:42 -0800 (PST) Message-ID: <00d001c5e0be$1f443920$7037a8c0@nt.wilshire.com> From: "Bill Barker" To: "Tomcat Developers List" References: <436A3D6B.4080900@apache.org> <001d01c5e0a9$67377630$7037a8c0@nt.wilshire.com> <96e4b5230511031130p66ce6b58i6c902b4404e01cfe@mail.gmail.com> <00a601c5e0b1$79e12a80$7037a8c0@nt.wilshire.com> <436A7090.2040802@apache.org> Subject: Re: Rewrite features Date: Thu, 3 Nov 2005 13:32:42 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Zantaz-Archived: tango Content-Disposition: inline X-Scanned-By: MIMEDefang 2.52 on 192.168.1.83 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Remy Maucherat" To: "Tomcat Developers List" Sent: Thursday, November 03, 2005 12:18 PM Subject: Re: Rewrite features >Bill Barker wrote: >> We don't unbind the service() from the Thread. However, in Coyote Request >> instances are very long lived objects that (at least for HTTP/1.1) persist >> over many connections. >> >> The APR Connector uses a ThreadLocal to bind the Request instance to a >> single Thread instance. The next request that it handles may have been >> received on a different Socket than the last, but it is bound to the Thread. >> With the Java HTTP/1.1 Connector, the Request is bound to the Thread via the >> init() method of ThreadPoolRunnable. >> >> The Nio/AJP Connector binds the Request instance to a Socket connection (via >> the SelectionKey.attachment). > >Personally, I always considered the Request/Response objects were tied >to the thread. I don't know for sure, but it could mean that my valve >may not work with your connector then (the utility object that resolves >special variables uses the request, and it could be an issue). > As I said, it probably doesn't matter since nobody (except me :) uses my Connector. Also, if you're using AJP it's likely that you'd be using mod_rewrite for this sort of thing anyway ;-). >R�my This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org