httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1482996 - /httpd/httpd/trunk/server/protocol.c
Date Wed, 15 May 2013 18:40:15 GMT
Author: minfrin
Date: Wed May 15 18:40:14 2013
New Revision: 1482996

URL: http://svn.apache.org/r1482996
Log:
core: Use the proper macro for HTTP/1.1.

Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=1482996&r1=1482995&r2=1482996&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Wed May 15 18:40:14 2013
@@ -1830,7 +1830,7 @@ AP_DECLARE(void) ap_send_interim_respons
     char *status_line = NULL;
     request_rec *rr;
 
-    if (r->proto_num < 1001) {
+    if (r->proto_num < HTTP_VERSION(1,1)) {
         /* don't send interim response to HTTP/1.0 Client */
         return;
     }



Mime
View raw message