From: William A. Rowe Jr Date: Thu, 22 Dec 2016 19:34:17 +0000 (+0000) Subject: Backports: r1407004 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69de1af56b8e85c7280303f38ff57efc0d4e2441;p=thirdparty%2Fapache%2Fhttpd.git Backports: r1407004 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 --- diff --git a/server/protocol.c b/server/protocol.c index 4a774149f1f..61f897602b5 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -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 */