You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2013/05/15 20:40:15 UTC

svn commit: r1482996 - /httpd/httpd/trunk/server/protocol.c

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