2010/12/27 Christopher Schultz <ch...@christopherschultz.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Olaf,
>
> On 12/27/2010 12:59 PM, Olaf Tomczak wrote:
> > I also isolated a
> > test request that always fails on my test server instace and used it as a
> > JMeter test configuration.
>
> Excellent. Can you post that rest request to the list?
>

I'll make sure to do that tommorow.


>
> > InternalNioInputBuffer.parseRequestLine - successfully parses the first
> > request line
> > InternalNioInputBuffer.parseHeader - parses some headers but then fails
> to
> > read more data and returns with HeaderParseStatus.NEED_MORE_DATA status
> > InternalNioInputBuffer.parseRequestLine - is called again and then tries
> to
> > parse the remaining headers and fails with 505 since it takes a part of
> > 'User-Agent' header value as a protocol name.
>
> I notice that you didn't have a maxHttpHeaderSize attribute on your
> connector. Is it possible that you have a header section that is too large?
>

My request was under 1500 bytes so this is probably not the case, I'll check
that anyway.


>
> > I also noticed that when a use a local instance of Tomcat (on the same
> host
> > as my jmeter) with the same configuration the requests work (I suppose
> it's
> > because the connection is faster and more data is available in the buffer
> > without delay).
>
> Probably not. It is possible that "localhost" is a shorter hostname than
> your remote clients and that the request headers end up being short
> enough just due to that.
>

Well I tried to add additional characters to the query string to compensate
that.. You may be right however.. didn't have much time to test it. Still I
don't understand why this HeaderParseStatus.NEED_MORE_DATA status is
generally never handled..


>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk0ZA7oACgkQ9CaO5/Lv0PAyNQCcD/aIYp+lzTqAf2NvyUEvKp9+
> bKoAoMGDToR4vUZowxFRjreu9k8ie10D
> =EY8I
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to