Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D70A6136B for ; Tue, 19 Apr 2011 19:58:00 +0000 (UTC) Received: (qmail 86784 invoked by uid 500); 19 Apr 2011 19:57:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86606 invoked by uid 500); 19 Apr 2011 19:57:56 -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 86597 invoked by uid 99); 19 Apr 2011 19:57:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 19:57:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 19:57:47 +0000 Received: from [192.168.245.129] (montserrat.wissensbank.com [212.85.37.175]) by tor.combios.es (Postfix) with ESMTPA id B25FF226098 for ; Tue, 19 Apr 2011 21:57:25 +0200 (CEST) Message-ID: <4DADE91A.1020605@ice-sa.com> Date: Tue, 19 Apr 2011 21:57:14 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: AW: AW: Setting the maxHTTPHeaderSize to 'infinity' References: <384A49071503884FB18EC6E40470D1B5197D5D82@CLASSIXSVR01.classix.local> In-Reply-To: <384A49071503884FB18EC6E40470D1B5197D5D82@CLASSIXSVR01.classix.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Fischereit, Jana wrote: > Hi, > > I resolved my problem. The problem was that the method request.getInputStream().read() just finish reading the in the server.xml file defined maxHTTPHeaderSize of the inputStream. So I wrote my own method to read the inputsteam and everything works fine. > > Besides I changed my client-side to multipartFileUpload (like the example from the previous posted link: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/MultipartFileUploadApp.java?view=markup) > That sounds very bizarre. If you use a multipart file upload, and you read the request body yourself on the server side, then you should be getting funny things in the uploaded file. Have you checked it ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org