Re: AW: AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread André Warnier
Fischereit, Jana wrote: Hi, I resolved my problem. The problem was that the method request.getInputStream().read() just finish reading the in the server.xml file defined maxHTTPHeaderSize of the inputStream. So I wrote my own method to read the inputsteam and everything works fine. Besides I

AW: AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread Fischereit, Jana
] Gesendet: Dienstag, 19. April 2011 16:10 An: Tomcat Users List Betreff: Re: AW: Setting the maxHTTPHeaderSize to 'infinity' Pid wrote: > On 4/19/11 12:20 PM, André Warnier wrote: >> Hi. >> >> I will let someone else comment on your code. > > I can say that do

Re: AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread André Warnier
Pid wrote: On 4/19/11 12:20 PM, André Warnier wrote: Hi. I will let someone else comment on your code. I can say that doesn't look like i'd expect it to, per the example code from the Commons HTTP 3.x or HTTP Client 4.x versions. (But remember, this is a help forum for Tomcat, which is th

Re: AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread Pid
On 4/19/11 12:20 PM, André Warnier wrote: > Hi. > > I will let someone else comment on your code. I can say that doesn't look like i'd expect it to, per the example code from the Commons HTTP 3.x or HTTP Client 4.x versions. > (But remember, this is a help forum for Tomcat, which is the server

Re: AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread André Warnier
Hi. I will let someone else comment on your code. (But remember, this is a help forum for Tomcat, which is the server side. It is not really a forum to help people write Java HTTP cients). It looks like this is your first try at sending a file to a server. So let me recommend something : I w

AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread Fischereit, Jana
Thank you for your answer! First I also thought that they have nothing to do with one another. But when I tried to transfer a xml-file (size 9kb) it did not work. Afterwards I increased the maxHTTPHeaderSize to 10 kb. So I concluded that the xml-stream is contained in the body of the request-he