-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Kohei,
On 11/29/18 20:19, Kohei Nozaki wrote: > I'm investigating a problem where Tomcat (7.0.92) returns a > response with no HTTP headers very occasionally. It happened during > a load test. > > > According to the captured packets by Wireshark, after Tomcat > receives a request it just returns only a response body. It returns > neither a status line nor HTTP response headers. > > > This is a screenshot of Wireshark's "Follow HTTP Stream" which is > showing the problematic response: > https://i.stack.imgur.com/E6ttG.png It's difficult to tell what's being shown, here. Too much has been redacted. It looks like both request and response are being shown, and the response appears to be part of a chunked response. > This is a screen shot of "TCP Stream" of the relevant part (only > response): https://i.stack.imgur.com/TLKl3.png This looks like a standard chunked response. I see no problems, there. > In my opinion, neither an application nor a framework can make > Tomcat behave this way, so I'm wondering if it's a bug or something > of Tomcat. Do you think it can be a bug of Tomcat or is there > something which can make this happen? Was there a relevant change > of Tomcat in recent versions? I agree that it should not be possible for an application (and a framework counts as "the application" in this sense) to break Tomcat's handling of the HTTP spec, but I don't see direct evidence of a bug, yet, here. Are your samples (shown in your images) definitely showing only a single TCP connection, or is it possible that wireshark is merging the requests/responses of multiple connections together in the same log stream? - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlwBarQACgkQHPApP6U8 pFisaw/9G3l7InffOzzOQcTLWE7b+38dFKxrB0ejpLqoG70C1w2VgwwSGBfzrpxA ucpA+SJeyLujI+NLyeANtB01uY/B9Ba3f0XgdQGOSl+RcT4vOQMs5qGtfS8ImitE slCjiogr077Lp/sKMXSCkSDzEvHaJ/8jIITqGElo05q4HZqSHsHAan4crndP0lE6 9mIHfN477NmOhoHHg+HwuSzbgGbawPlNwjkFLZvQlQQIBUEc00DyGFC+avnie5nf 0z40UFULlR+rzsdXYsrfmOtzYpAV1lzksxDx7RqPbKjrOdqNRzeCkcdE2yzoi8CF rzacG2anhxWOuuE5zKoFzcxxAv2uNDnl9sDfIcNkl00D5pBBeGAQ6fib27oDNtJ/ zZW9UsbwiiUzDOnpzNTFLNzf/TTF3NuHNpVXyVq9rBXwdqzqCQXHaI7zOSyY6NDr 6V09eP2xwsXlaDMXp7hl8hea3Ci0gIUXFm8wTq8LBjNtteoWrJ4vkx5qoVFhzORe D0TgmZgwtablmzb76hLYMJP1t6gsnx0nbcob1YcxAx9k1pCTKEiRsdFHYO1fH0KE 8TpR4q/3xmINNhU2vb8SefvoTXIvOcI8LJpy6u9YuTAIiTlmwUQouqtdZ99U9EjN EdG5eUVv2XRJvlKLRovIOAoJl1LL7dDWO1II6hRdBbqulmeQXHE= =eDT+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org