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

--- Comment #13 from Yann Ylavic <ylavic....@gmail.com> ---
Maybe something more explicit like this:
diff --git a/src/http.c b/src/http.c
index 0460e04d1..c71fde995 100644
--- a/src/http.c
+++ b/src/http.c
@@ -676,6 +676,10 @@ int http_exchange(
       goto write_err;
     }
   }
+  if( iLength<0 && !closeConnection ){
+    fossil_warning("\"content-length\" missing from %d keep-alive reply", rc);
+    goto write_err;
+  }
   if( rc!=200 ){
     fossil_warning("\"location:\" missing from %d redirect reply", rc);
     goto write_err;
--

Otherwise in https://fossil-scm.org/home/info/71919ad1b542832c it's possibly
missing an "else" now?

-- 
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