Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 57983 invoked from network); 12 Feb 2004 22:54:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Feb 2004 22:54:42 -0000 Received: (qmail 83570 invoked by uid 500); 12 Feb 2004 22:53:54 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 83515 invoked by uid 500); 12 Feb 2004 22:53:53 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 83409 invoked from network); 12 Feb 2004 22:53:52 -0000 Received: from unknown (HELO victor.wilshire.com) (209.0.86.70) by daedalus.apache.org with SMTP; 12 Feb 2004 22:53:52 -0000 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by victor.wilshire.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i1CMrfej025475 for ; Thu, 12 Feb 2004 14:53:41 -0800 Received: from bbarkerxp (host1-129.wilshire.com [192.168.1.129] (may be forged)) by harpy.wilshire.com (8.12.10/8.12.9) with SMTP id i1CMrfRx014435 for ; Thu, 12 Feb 2004 14:53:41 -0800 (PST) Message-ID: <01ba01c3f1bb$1c3612b0$ec66a8c0@bbarkerxp> From: "Bill Barker" To: "Tomcat Developers List" References: <015101c3ec47$3557b740$b441ca0a@nwinc.org.au> <012c01c3edda$80f81020$b441ca0a@nwinc.org.au> <08b401c3f109$ff562060$b441ca0a@nwinc.org.au> <402B47E4.5030500@apache.org> <402B4B90.2050202@fujitsu-siemens.com> <402B4C2C.4090105@apache.org> <402BB3FE.5050801@apache.org> Subject: Re: Mod_Jk2 - Default Worker Date: Thu, 12 Feb 2004 14:54:02 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1076626422-1744-228" 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-Archived: msg.XXSAmqEa@harpy X-Scanned-By: MIMEDefang 2.38 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------------=_1076626422-1744-228 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline ----- Original Message ----- From: "Costin Manolache" To: Sent: Thursday, February 12, 2004 11:03 AM Subject: Re: Mod_Jk2 - Default Worker > Henri Gomez wrote: > > > Well, if we didn't get the POST somewhere on the WebServer, and if the > > tomcat failed to respond, we couldn't resent the whole POST to the > > second one. > > > If we get the first bytes ( but not the entire POST ), we can still save > them, and if the first tomcat fails - resend it. > When a tomcat responds - it can ask for more bytes. > > If a tomcat is failing in the middle of the processing - it's better to > report the error and not try to recover. > +1. If tomcat has already gotten the body, and then dies, if you attempt to recover you will have charged the user's credit card twice :). > > > > > The strategy will be to keep, say up to 32kb on Apache pools, and if the > > POST is larger save it to filesystem. > > I'm not sure I understand the problem with saving only the first part of > the POST data. The request that is sent to tomcat only includes those > bytes anyway - tomcat has to ask for more. > > The problem is that getting the entier body changes the processing model > for POST fundamentally - the entire streaming is gone, servlets that may > reject the POST ( because the size is too big for example ) will still > have the entier body downloaded, etc. > > Are you sure this is absolutely needed ? > > Costin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > ------------=_1076626422-1744-228 Content-Type: text/plain; name="disclaimer.txt" Content-Disposition: inline; filename="disclaimer.txt" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) 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. ------------=_1076626422-1744-228 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org ------------=_1076626422-1744-228--