mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 01:12:40 +08:00
Stop emulating a space character after r->method_name.
This is an API change. The proxy module was modified to not depend on this in 44122bddd9a1. No known third-party modules seem to depend on this.
This commit is contained in:
parent
05a38c7077
commit
362fb6c1d4
@ -776,7 +776,7 @@ ngx_module_t ngx_http_core_module = {
|
||||
};
|
||||
|
||||
|
||||
ngx_str_t ngx_http_core_get_method = { 3, (u_char *) "GET " };
|
||||
ngx_str_t ngx_http_core_get_method = { 3, (u_char *) "GET" };
|
||||
|
||||
|
||||
void
|
||||
|
@ -3294,9 +3294,6 @@ ngx_http_v2_construct_request_line(ngx_http_request_t *r)
|
||||
|
||||
ngx_memcpy(p, ending, sizeof(ending));
|
||||
|
||||
/* some modules expect the space character after method name */
|
||||
r->method_name.data = r->request_line.data;
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
"http2 http request line: \"%V\"", &r->request_line);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user