Re: TC Drops bytes when client uses Chunked Encoding AND specifying Content-Length at the same time.

2005-01-07 Thread Remy Maucherat
On Thu, 30 Dec 2004 17:58:09 -0800, Ian Huynh [EMAIL PROTECTED] wrote: We are using TC 5.0.28 on JDK 1.4.2 We have a client who POST to TC using header Transfer-encoding: chunked and at the same time specify the Content-Length header when posting to us. It seems that if the Content

Re: TC Drops bytes when client uses Chunked Encoding AND specifying Content-Length at the same time.

2005-01-06 Thread Jon Wingfield
transfer-coding (section 3.6), unless the message is terminated by closing the connection. 3.If a Content-Length header field (section 14.13) is present, its decimal value in OCTETs represents both the entity-length and the transfer-length. The Content-Length header field MUST

TC Drops bytes when client uses Chunked Encoding AND specifying Content-Length at the same time.

2004-12-30 Thread Ian Huynh
We are using TC 5.0.28 on JDK 1.4.2 We have a client who POST to TC using header Transfer-encoding: chunked and at the same time specify the Content-Length header when posting to us. It seems that if the Content-Length is specified, TC is dropping the last few bytes..?? This same customer

JK2 AJP13 and Content-Length

2004-07-27 Thread Hannah Li
In AJPv13 doc, there is a note: *Note: *The *content-length* header is extremely important. If it is present and non-zero, the container assumes that the request has a body (a POST request, for example), and immediately reads a separate packet off the input stream to get that body. Does

AW: JK2 AJP13 and Content-Length

2004-07-27 Thread Gunnar Pörschke
-Length In AJPv13 doc, there is a note: *Note: *The *content-length* header is extremely important. If it is present and non-zero, the container assumes that the request has a body (a POST request, for example), and immediately reads a separate packet off the input stream to get that body. Does it mean

Re: AW: JK2 AJP13 and Content-Length

2004-07-27 Thread Hannah Li
This has been bother me for quite some time and I have searched and googled everywhere but can not find an answer. I just want to make sure whether AJPv13 reads request body sent in chunks (no Content-Length in header). If AJPv13 does handle it, I may need to find some other causes like I may

Content length

2003-10-24 Thread William Bondy
I have a client browser that acts a bit in a non-standard fashion, for http responses with content-length set (keep-alive) it expects the content-length worth of data PLUS an extra \r\n that is not counted in the content length header sent. When I set the HttpServletResponse contentLength

RE: Content length

2003-10-24 Thread Wade Chandler
[mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 4:33 PM To: '[EMAIL PROTECTED]' Subject: Content length I have a client browser that acts a bit in a non-standard fashion, for http responses with content-length set (keep-alive) it expects the content-length worth of data PLUS an extra \r\n

RE: Content length

2003-10-24 Thread Justin Ruthenbeck
: Friday, October 24, 2003 4:33 PM To: '[EMAIL PROTECTED]' Subject: Content length I have a client browser that acts a bit in a non-standard fashion, for http responses with content-length set (keep-alive) it expects the content-length worth of data PLUS an extra \r\n that is not counted

RE: Content length

2003-10-24 Thread William Bondy
Tell me about it, I can't change the browser however which blows... -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 04:03 PM To: 'Tomcat Users List' Subject: RE: Content length Why would you try to support something non standard? What

Re: Content length

2003-10-24 Thread Jeff Jackson
Can the client handle chunked encoding? Then you don't need to set content-length at all. Jeff Jackson On Fri, 24 Oct 2003, William Bondy wrote: I have a client browser that acts a bit in a non-standard fashion, for http responses with content-length set (keep-alive) it expects the content

RE: Content length

2003-10-24 Thread William Bondy
Unfortunately no, it looks like the only solution is change the connector used with Tomcat, though I really wan't to avoid that... -Original Message- From: Jeff Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 05:08 PM To: Tomcat Users List Subject: Re: Content length

Re: Content length

2003-10-24 Thread Erik Wright
I really wan't to avoid that... -Original Message- From: Jeff Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 05:08 PM To: Tomcat Users List Subject: Re: Content length Can the client handle chunked encoding? Then you don't need to set content-length at all. Jeff Jackson

RE: Mangled Content-Length header

2003-02-25 Thread Ian Stevens
Every so often a response to a POST request to Tomcat either fails to include the Content-Length header or mangles it so it doesn't read Content-Length. FYI, this is still happening. Here is what the request headers look like: POST /Phantom/servlet HTTP/1.1 User-Agent

Mangled or missing Content-Length header

2003-02-18 Thread Ian Stevens
Every so often a response to a POST request to Tomcat either fails to include the Content-Length header or mangles it so it doesn't read Content-Length. Such replies occur both when content exists and when there is no content. I call HttpServletResponse.setContentLength() every time I build

Content-Length

2003-02-12 Thread Alain Moser
Hi, Is it possible to 'deactivated' in Tomcat the parameter 'Content-Length' in header from a message HTTP, i.e. so that this parameter does not appear in the header? Thank's Alan - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Content-Length header set automatically?

2003-01-10 Thread Justin Ruthenbeck
At 10:55 PM 1/9/2003, Bill Barker wrote: [The following describes my understanding of how Coyote works for Tomcat 4.x and 5.x -- don't know about 3.3 or responding through a webserver connector.] Tomcat sets the content length automatically in two circumstances: * Static files delivered

Content-Length header set automatically?

2003-01-09 Thread Justin Ruthenbeck
All appservers I've worked with have included the Content-Length header in all HTTP responses without any specific setting by a developer. So far as I know, this is not a spec requirement, though it seems to be common practice. Anyone out there know Tomcat's specific behavior

Re: Content-Length header set automatically?

2003-01-09 Thread Craig R. McClanahan
On Thu, 9 Jan 2003, Justin Ruthenbeck wrote: Date: Thu, 09 Jan 2003 15:09:44 -0800 From: Justin Ruthenbeck [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Content-Length header set automatically? All appservers I've worked

Re: Content-Length header set automatically?

2003-01-09 Thread Bill Barker
ROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Content-Length header set automatically? All appservers I've worked with have included the Content-Length header in all HTTP responses without any specific setting by a developer. So fa

Mod_jk content length

2002-10-21 Thread Ricardo de Souza Moura
log !!! He comments about a possible bug of mod_jk in relationship a content length... Had anybody already this problem ? Thanks !!! _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com -- To unsubscribe, e-mail

Content-Length with mod_deflate and mod_jk (and mod_jk2)

2002-09-26 Thread Colin Bendell
How do I get the Content-Length to be returned with using mod_jk and mod_deflate? Using mod_proxy and mod_deflate this was not a problem. However, I need to use the jk/jk2 connector for various other reasons but I also need the content-length returned to the client. I am running Apache 2.0.42

Suspected Content-Length bug in SSL adapter, Tomcat 4.0.4.

2002-09-10 Thread Tom Cook
' property set to the JSP URL, not an action. This problem persists even if I cut the third form down to this: htmlheadHello/headbodyHello./body/html My conclusion is that the SSL connector is probably setting the Content-Length header incorrectly, causing browsers that look at that header to expect more

Re: Suspected Content-Length bug in SSL adapter, Tomcat 4.0.4.

2002-09-10 Thread Remy Maucherat
on the previous page has its 'action' property set to the JSP URL, not an action. This problem persists even if I cut the third form down to this: htmlheadHello/headbodyHello./body/html My conclusion is that the SSL connector is probably setting the Content-Length header incorrectly

Re: Suspected Content-Length bug in SSL adapter, Tomcat 4.0.4.

2002-09-10 Thread tek1
not sure if the problems are connected, but i ran into a bug with filters not setting the content-length of the response correctly. please check the archives for my post entitled RE: anyone using filter to set content length of response?. it would require digging into the tomcat code, but i

Re: Suspected Content-Length bug in SSL adapter, Tomcat 4.0.4.

2002-09-10 Thread Tom Cook
On 0, tek1 [EMAIL PROTECTED] wrote: not sure if the problems are connected, but i ran into a bug with filters not setting the content-length of the response correctly. please check the archives for my post entitled RE: anyone using filter to set content length of response?. it would

RE: anyone using filter to set content length of response?

2002-09-08 Thread tek1
setting the content length (i.e. the mobile client recognized the response's content length). it appears that the content length isn't being set properly in a filter in tomcat (both4.0.4 and 4.1.10), and only appears to be happening with mobile java clients (as web browsers have extra

Setting Content Type and Content Length in Filters

2002-05-24 Thread Madock Chiwenda
Hi, I have been struggling to get PDF output using filters and JSPs in vain. I can get the right output from the tomcat 4.0.3 but header info is incorrect or missing, causing the browsers (IE, Netscape and Opera) to fail to launch a Adobe Acrobat Plugin. I am successful to get the output using

Servlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608

2002-02-25 Thread Bührle, Martin, FCI1
have to search for this limitation property? Failure log: We always get a StandardWrapperValve[OpenCmsServlet]: Servlet.service() for servlet OpenCmsServlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608-error This failure (se

RE: Servlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608

2002-02-25 Thread Reynir Hübner
:[EMAIL PROTECTED]] Sent: 25. febrúar 2002 18:32 To: [EMAIL PROTECTED] Subject: Servlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608 Hi everybody, we are using Tomcat to serve our servlet-based Content-Management-System (OpenCMS

AW: Servlet threw exception java.io.IOException: Posted content length of 36238773 exceeds limit of 8388608

2002-02-25 Thread Ralph Einfeldt
IOException(Posted content length of + length + exceeds limit of + m_maxSize); } -Ursprüngliche Nachricht- Von: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 25. Februar 2002 19:32 An: [EMAIL PROTECTED] Betreff: Servlet threw exception java.io.IOException: Posted

Posted content length exceeds limit

2002-01-02 Thread DESBOIS Sébastien
: java.io.IOException: Posted content length of 2800901 exceeds limit of 1048576 Where is defined this limitation and how can I modifie it ?? Thanks in advance. Seb. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto

RE: Posted content length exceeds limit

2002-01-02 Thread Robert Jackson
: DESBOIS Sébastien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 9:41 AM To: [EMAIL PROTECTED] Subject: Posted content length exceeds limit Hi all, I am using a servlet to post data to my server. the html page I am using looks like: !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html

Content-Length

2001-09-14 Thread Judith NATAF
I send the following request to Tomcat's web server GET /index.html HTTP/1.0 Content-Length=2583 If I specifie the CONTENT-LENGTH I get the index.html file. But, if I dont't specifie the CONTENT-LENGTH, I have a 404 error. How comes that Tomcat Web server is not able to determine the length

RE: Content-Length

2001-09-14 Thread Marjou Xavier
of this 2nd line and considers that the request is finished, so it serves you the page. Xavier Marjou -Original Message- From: Judith NATAF [SMTP:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 3:56 PM To: Tomcat (E-mail) Subject: Content-Length I send the following request

Content-Length limited to 2^31-1???

2001-08-30 Thread David Daney
The problem I am having is that tomcat 3.2.3 seems to (kind of) limit content length to Integer.MAX_VALUE (2^31-1 or 2GB). If I want to serve very large objects things do not work so well. I seems that ServletResponse.SetContentLength(int) is the prefered manner to sent the content length

RE: Content-Length limited to 2^31-1???

2001-08-30 Thread Martin van den Bemt
tomcat 3.2.3 is not http 1.1.. Mvgr, Martin -Original Message- From: David Daney [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 11:48 PM To: [EMAIL PROTECTED] Subject: Content-Length limited to 2^31-1??? The problem I am having is that tomcat 3.2.3 seems to (kind

Re: Content-Length limited to 2^31-1???

2001-08-30 Thread Tim O'Neil
At 02:47 PM 8/30/2001, you wrote: The problem I am having is that tomcat 3.2.3 seems to (kind of) limit content length to Integer.MAX_VALUE (2^31-1 or 2GB). If I want to serve very large objects things do not work so well. I seems that ServletResponse.SetContentLength(int) is the prefered

Re: Content-Length limited to 2^31-1???

2001-08-30 Thread Dmitry Rogatkin
You can always provide content length value using setHeader like methods to avoid int limitations. Tomcat shouldn't overwrite header value if it's already set. You can also use chunked out where content length simple ignored for files greater than 2GB. Dmitry R., [EMAIL PROTECTED] Chief

Does AJPv1x need Content-Length ?

2001-08-20 Thread ehugonnet
hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache to transfert the data to the servlet and afterwaerds I can't send any more data through this opened connection. Has

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread Rob S.
If you want to send data, you need to POST. - r On Mon, 20 Aug 2001 14:47:39 +0200 [EMAIL PROTECTED] wrote: hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote: hi, I'm trying to send data to a servlet through a TCP connection. I create my socket, then send a GET /myapp HTTP/1.1 ... But I need to define the content-length for apache to transfert the data to the servlet and afterwaerds I can't send

Re: Does AJPv1x need Content-Length ?

2001-08-20 Thread ehugonnet
I've opened with a POST but I still can't send data without a content-length parameter in my header when I have apache + tomcat whereas tomcat standalone works fine. I've sent my testing classes also (I use \t\t as my data separator). Thanks for any help Emmanuel ServletOpenSocket.java

content-length limited to an int?

2001-04-02 Thread Mary Kay
Hi, Is anyone else having problems with content-length using an int? If I try to serve any files 4gig, the content-length returned is incorrect (I assume the cutoff is 2 gig since ints are signed in java, but I have only tested 4gig files). I took a quick look at the source code, found

improper content-length header

2000-11-29 Thread Juan Munoz
Hello, I'm developing a VoiceXML application using tellme.com's tools. Apparently, their browser doesn't work properly unless the correct content-length header is set. Tomcat doesn't set this correctly from the JSPs I'm writing. How can I configure tomcat to set the correct content-length? I