tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44494] Requests greater than 8k being truncated.
Date Thu, 10 Apr 2008 15:24:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494





--- Comment #37 from Rainer Jung <rainer.jung@kippdata.de>  2008-04-10 08:24:21 PST
---
Using the war and maxHttpHeaderSize="16384" I did the following test case:

   Characters size: 17000_______________
   Use MultiByte Character: ( ) yes (*) no
    
_____________________________________________________________________________________________________________

   [test case:]
   (*) only read [readLine()/read()/read(char[1])]
   ( ) garbage in buffer
     * real read size: 4096________________

   ( ) mark/reset
     * read size before mark(): 0___________________
     * readAheadLimit size: 8192________________
     * read size after mark()/before reset(): 8192________________
    
_____________________________________________________________________________________________________________

   submit
    
_____________________________________________________________________________________________________________


And on the next page I choose the first send (#readLine test):

   request#getReader()#readLine test
   abcdefghijklmnopqrst send
   request#getReader()#read() test
   abcdefghijklmnopqrst send
   request#getReader()#read(char[1]) test
   abcdefghijklmnopqrst send

The result is:

request#getReader test.

   readLine.jsp is called.
    
_____________________________________________________________________________________________________________

   Content-Type:multipart/form-data; boundary=xnyLAaB03X
   Character Encoding:UTF-8
   Content-Length:17115
   expected:17076
   real read:4827
   isSame:false


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message