https://bz.apache.org/bugzilla/show_bug.cgi?id=58929

--- Comment #2 from Ruediger Pluem <[email protected]> ---
(In reply to Michael Kaufmann from comment #1)
> I suspect that the bug is this "early return" in protocol.c /
> read_request_line():
> 
> if (r->status != HTTP_OK) {
>     return 0;
> }
> 
> r->proto_num and r->protocol are not initialized in this case.
> 
> This change has been introduced in r1710095.

Good analysis. Can you please try if the following patch fixes your issue:

Index: server/protocol.c
===================================================================
--- server/protocol.c   (revision 1727166)
+++ server/protocol.c   (working copy)
@@ -638,6 +638,8 @@

     ap_parse_uri(r, uri);
     if (r->status != HTTP_OK) {
+        r->proto_num = HTTP_VERSION(1,0);
+        r->protocol  = apr_pstrdup(r->pool, "HTTP/1.0");
         return 0;
     }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to