[Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 Mark Thomas changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from Mark Thomas

[Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 --- Comment #4 from Conny Seifert --- Created attachment 38551 --> https://bz.apache.org/bugzilla/attachment.cgi?id=38551=edit minimal testcase attached app returns string "test" without any headers. In case of failure output looks like

Re: [Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread koteswara Rao Gundapaneni
Dear team, Server might sends message headers for the request done by client Here the response might be empty atheist I considered it a servlet Regards Koti On Wed, 3 May 2023, 14:43 , wrote: > https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 > > --- Comment #1 from Mark Thomas ---

[Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 --- Comment #3 from Conny Seifert --- If I understood the code correctly, the "header-loop" beginning in line 950 is not entered at all in case of 0 headers. So no https status code is appended to AJP response and also the number of headers is

[Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 Mark Thomas changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #2 from Mark

[Bug 66591] HttpResponse without any header generates corrupted AJP messages

2023-05-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66591 --- Comment #1 from Mark Thomas --- Thanks for the report. My reading of RFC 9110 (section 3.4) is that responses do not require headers. I am a little curious how the fix for bug 66512 triggered this but it does look like a bug. I'm working