Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17409 invoked from network); 10 Oct 2008 14:58:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2008 14:58:41 -0000 Received: (qmail 69450 invoked by uid 500); 10 Oct 2008 14:58:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 69416 invoked by uid 500); 10 Oct 2008 14:58:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 69405 invoked by uid 99); 10 Oct 2008 14:58:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 07:58:27 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=DNS_FROM_SECURITYSAGE,SPF_HELO_SOFTFAIL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.199.2.238] (HELO bkom.it) (217.199.2.238) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 14:57:22 +0000 X-Junk-Score: 2 [X] X-SpamCatcher-Score: 2 [X] Received: from web.territoriumonline.com ([84.18.145.145] verified) by mail-fe2.bkom.it (CommuniGate Pro SMTP 5.2.3) with ESMTPS id 21364245 for users@tomcat.apache.org; Fri, 10 Oct 2008 16:57:43 +0200 Received: from web.territoriumonline.com (localhost.localdomain [127.0.0.1]) by web.territoriumonline.com (8.13.8/8.13.8) with ESMTP id m9AEva6F030108 for ; Fri, 10 Oct 2008 16:57:36 +0200 Received: from [192.168.123.140] ( [151.68.78.16]) by web.territoriumonline.com (Scalix SMTP Relay 11.4.0.11669) via ESMTP; Fri, 10 Oct 2008 16:57:36 +0200 (CEST) Date: Fri, 10 Oct 2008 16:57:33 +0200 From: "Maurizio Lotauro" To: "Tomcat Users List" Message-ID: <48EF897D.4161.5B02119@maurizio.lotauro.territoriumonline.com> In-Reply-To: <48EE4A74.2030303@christopherschultz.net> References: <48E2CBE2.32604.A6BF270@maurizio.lotauro.territoriumonline.com> References: <48ED59C4.21088.519004D@maurizio.lotauro.territoriumonline.com> References: <48EE4A74.2030303@christopherschultz.net> Subject: Re: Authentication behaviour Priority: normal x-scalix-Hops: 1 x-scalix-Authenticated-Sender: maurizio.lotauro@territoriumonline.com at 151.68.78.16 X-mailer: Pegasus Mail for Windows (4.41) MIME-Version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-Disposition: inline Content-description: Mail message body X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on web.territoriumonline.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-14.9 required=5.0 tests=RDNS_NONE,TOL_ACCEPT autolearn=failed version=3.2.4 On 9 Oct 2008 at 14:16, Christopher Schultz wrote: > Maurizio, Christopher, > Maurizio Lotauro wrote: > > On 6 Oct 2008 at 14:58, Christopher Schultz wrote: [...] > If you are writing network code, you need to handle disconnects at > any time. This is handled, but in that case there is no need to send the rest of request. > >> That's a reasonable interpretation of the spec, but obviously > not > >> a practical one. > > > > Even omitting "and interpreting"? > > Sure. The server can interpret part of the request and respond > whenever > it wants. Here's another good example: some servers have a > file-size > upload limit. If the server were required to process the entire > file > upload before rejecting it (based upon the Content-Length header), > DOS > attacks would be trivial to mount against any web server. This is a good point. But I suppose that in this case the server also close the connection, otherwise it would be useless. In our case the connection is keep alive. BTW what is the status code in that case? [...] > I think my file upload example is a compelling one. If the connection is closed by the server then it is a different situation. Bye, Maurizio. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org