-----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?
> 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?
> 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.
- -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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|