Understand. The chunk stuff is what I am planning on using. Do you know if Tomcat waits until all chunks are in before starting the Servlet processing?

Bill Barker wrote:
If you don't send a Content-Length, then you need to use 'Transfer-Encoding: chunked'. Otherwise Tomcat (or any other HTTP/1.1 server) has no way of knowing when the request body ends, and the next request begins.

"Scott Carr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Does a servlet require the use of a Content-Length for the Reader to be populated?

I trying to use Tomcat instead of writing my own Socket Server. I have a set of lines that I am trying to parse, but I don't have any idea how much is going to be sent up front. It may be 1000Kb, or it may be several Megabytes worth of information, and I want to read each line as they come in, and handle the request on a line by line basis.

Any ideas on this?  ... Should I write my own socket server?

Thanks

--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to