Received: (qmail 60858 invoked by uid 501); 24 Jul 2000 19:28:28 -0000 Message-Id: <20000724192827.60854.qmail@locus.apache.org> Date: 24 Jul 2000 19:28:27 -0000 From: Justin Smith Reply-To: jsmith@mcs.drexel.edu To: submit@bugz.apache.org Subject: Post data truncated when sent over network X-Send-Pr-Version: 3.110 >Number: 6337 >Category: mod_jserv >Synopsis: Post data truncated when sent over network >Confidential: no >Severity: serious >Priority: medium >Responsible: jserv >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jul 24 12:30:04 PDT 2000 >Closed-Date: >Last-Modified: Thu Jul 27 07:20:00 PDT 2000 >Originator: jsmith@mcs.drexel.edu >Release: 1.3.12-2 >Organization: apache >Environment: Linux vorpal.mcs.drexel.edu 2.2.16-3 #1 Mon Jun 19 18:10:14 EDT 2000 i686 unknow ApacheJServ: ApacheJServ-1.1-2_RH6x Blackdown jdk-1.2.2 (javac compiler used) >Description: In a servlet, POST data is truncated to about 10K when it is posted over a network. When the form is submitted locally, no truncation occurs. This truncation occurs when the data is slightly larger than 10K. When it is much larger (20K) the servlet isn't even run (the log shows a message that it couldn't read servlet headers). NOTE: This problem DOESN'T occur right after the machine has been rebooted. The first request is handled correctly, but all succeding requests are mangled. >How-To-Repeat: The Java code for the servlet that produces this problem can be accessed from http://vorpal.mcs.drexel.edu/postExam.java To see the problem, fill out the form http://vorpal.mcs.drexel.edu/course/gui/exam.html Required fields are first and last name (put anything), student ID (put 0) and email (put anything with an @-sign in it), section (click on graduate or undergraduate). Now fill out the answers with a lot of text copied from anywhere and click on submit. This is supposed to bring up a screen where you can check your answers before entering them into the database. If you enter a lot of text in each answer, the servlet won't even run. If you enter too much text (but close to the threshhold) the servlet will truncate your answers. If you enter a small amount of text in each answer (one line or so), the servlet will function properly. >Fix: I haven't the faintest idea! I dread going back to CGI scripts for this, but it looks as though I'll have to (when 30 students submitted the exam at the same time, my machine choked --- Unfortunately this servlet has a problem with only one person entering an exam). >Release-Note: >Audit-Trail: From: jsmith@king.mcs.drexel.edu To: apbugs@Apache.Org Cc: Subject: Re: mod_jserv/6337: Post data truncated when sent over network (fwd) Date: Thu, 27 Jul 2000 10:16:40 -0400 ------- Forwarded Message From gnats-admin@bugz.apache.org Mon Jul 24 15:51:28 2000 Received: from king.mcs.drexel.edu by localhost with POP3 (fetchmail-5.3.1) for jsmith@localhost (single-drop); Mon, 24 Jul 2000 15:51:28 -0400 (EDT) Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by king.mcs.drexel.edu (8.9.1/8.9.1) with SMTP id PAA21204 for ; Mon, 24 Jul 2000 15:31:32 -0400 (EDT) Received: (qmail 62708 invoked by uid 501); 24 Jul 2000 19:30:04 -0000 Date: 24 Jul 2000 19:30:04 -0000 Message-ID: <20000724193004.62707.qmail@locus.apache.org> To: jsmith@mcs.drexel.edu From: gnats-admin@bugz.apache.org Subject: Re: mod_jserv/6337: Post data truncated when sent over network Reply-To: gnats-admin@bugz.apache.org, jserv-bugdb@apache.org In-Reply-To: Your message of 24 Jul 2000 19:28:27 -0000 <20000724192827.60854.qmail@locus.apache.org> X-UIDL: e0e1efaad6fa888bfa0c1213bcd72328 Thank you very much for your problem report. It has the internal identification `mod_jserv/6337'. The individual assigned to look at your report is: jserv. >Category: mod_jserv >Responsible: jserv >Synopsis: Post data truncated when sent over network >Arrival-Date: Mon Jul 24 12:30:04 PDT 2000 ------- End of Forwarded Message >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]