mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
remove setting of ap::{http::method,default::port} r->notes.
these notes are unused, they handled by hooks. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -185,14 +185,7 @@ int ssl_hook_ReadReq(request_rec *r)
|
|||||||
*/
|
*/
|
||||||
if (strEQn(r->uri, "/mod_ssl:", 9))
|
if (strEQn(r->uri, "/mod_ssl:", 9))
|
||||||
r->handler = "mod_ssl:content-handler";
|
r->handler = "mod_ssl:content-handler";
|
||||||
if (ssl != NULL) {
|
|
||||||
apr_table_setn(r->notes, "ap::http::method", "https");
|
|
||||||
apr_table_setn(r->notes, "ap::default::port", "443");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
apr_table_setn(r->notes, "ap::http::method", NULL);
|
|
||||||
apr_table_setn(r->notes, "ap::default::port", NULL);
|
|
||||||
}
|
|
||||||
return DECLINED;
|
return DECLINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user