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

--- Comment #18 from farhanz <farhaan.s...@gmail.com> ---
That should be fine.

We'll need to add the const qualifier to the saved_status_line pointer
variable, though. The compiler would emit a warning otherwise:

Index: modules/http/http_filters.c
===================================================================
--- modules/http/http_filters.c (revision 1895463)
+++ modules/http/http_filters.c (working copy)
@@ -430,9 +430,12 @@
         }
         else if (!ctx->seen_data) {
             int saved_status = f->r->status;
+            const char *saved_status_line = f->r->status_line;
             f->r->status = HTTP_CONTINUE;
+            f->r->status_line = NULL;
             ap_send_interim_response(f->r, 0);
             AP_DEBUG_ASSERT(!f->r->expecting_100);
+            f->r->status_line = saved_status_line;
             f->r->status = saved_status;
         }
         else {

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to