]> granicus.if.org Git - apache/commitdiff
Remove unused code. "Next week" hasn't happened in the last 10 years or so.
authorStefan Fritsch <sf@apache.org>
Thu, 8 Nov 2012 10:43:18 +0000 (10:43 +0000)
committerStefan Fritsch <sf@apache.org>
Thu, 8 Nov 2012 10:43:18 +0000 (10:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407004 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index decd9982babab3ff9b2b573153bec3665f7f3d82..b9e94767a7216558c634b8f47d8d704b5dd6cf47 100644 (file)
@@ -561,9 +561,6 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb)
     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 *r, apr_bucket_brigade *bb)
     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 */