From: Stefan Fritsch Date: Thu, 8 Nov 2012 10:43:18 +0000 (+0000) Subject: Remove unused code. "Next week" hasn't happened in the last 10 years or so. X-Git-Tag: 2.5.0-alpha~6147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4919ad92fad49880a6ba44fb656615c21c72262c;p=thirdparty%2Fapache%2Fhttpd.git 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/trunk@1407004 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index decd9982bab..b9e94767a72 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -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 */