You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Xudong Cai <xd...@aztech.com.sg> on 1999/08/30 14:06:58 UTC
mod_jserv/4926: cannot scan servlet headers
>Number: 4926
>Category: mod_jserv
>Synopsis: cannot scan servlet headers
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: jserv
>State: open
>Class: support
>Submitter-Id: apache
>Arrival-Date: Mon Aug 30 05:10:00 PDT 1999
>Last-Modified:
>Originator: xdcai@aztech.com.sg
>Organization:
apache
>Release: Apache/1.3.3(Linux)+ JS1.0
>Environment:
Redhat Linux 5.2
Java JDK1.1.7 and JDK1.2
JSDK2.0
>Description:
I want to upload files to server from browser using servlet. In webpage,
I set ENCTYPE=multipart/form-data. When the value of request.getContentLength()
is greater than a specified limited number, I don't read any message from
request, and response to this request as "The file is too large". But I got
"Internal Server Error" message in the side of browser, with "cannot scan
servlet headers" record in servlet log file.
Besides these, during the period of reading file, if I run a throw command
because the file is too long, the same result will be displayed.
>How-To-Repeat:
>Fix:
I can't find any method to fix it.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]