]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backports: r1407004
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 22 Dec 2016 19:34:17 +0000 (19:34 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 22 Dec 2016 19:34:17 +0000 (19:34 +0000)
Submitted by: sf
Remove unused code. "Next week" hasn't happened in the last 10 years or so.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x-merge-http-strict@1775712 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 4a774149f1ffd442e9f57992298760874fafce69..61f897602b5429c43f4c3c20b86c605724a18657 100644 (file)
@@ -560,9 +560,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;
@@ -626,14 +623,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 */