httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1407004 - /httpd/httpd/trunk/server/protocol.c
Date Thu, 08 Nov 2012 10:43:18 GMT
Author: sf
Date: Thu Nov  8 10:43:18 2012
New Revision: 1407004

URL: http://svn.apache.org/viewvc?rev=1407004&view=rev
Log:
Remove unused code. "Next week" hasn't happened in the last 10 years or so.

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=1407004&r1=1407003&r2=1407004&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Thu Nov  8 10:43:18 2012
@@ -561,9 +561,6 @@ static int read_request_line(request_rec
     const char *uri;
     const char *pro;
 
-#if 0
-    conn_rec *conn = r->connection;
-#endif
     int major = 1, minor = 0;   /* Assume HTTP/1.0 if non-"HTTP" protocol */
     char http[5];
     apr_size_t len;
@@ -633,14 +630,6 @@ static int read_request_line(request_rec
     ll = r->the_request;
     r->method = ap_getword_white(r->pool, &ll);
 
-#if 0
-/* XXX If we want to keep track of the Method, the protocol module should do
- * it.  That support isn't in the scoreboard yet.  Hopefully next week
- * sometime.   rbb */
-    ap_update_connection_status(AP_CHILD_THREAD_FROM_ID(conn->id), "Method",
-                                r->method);
-#endif
-
     uri = ap_getword_white(r->pool, &ll);
 
     /* Provide quick information about the request method as soon as known */



Mime
View raw message