Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 6312:1d696c646d81
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.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 30 Nov 2015 12:54:01 +0300 |
parents | 932a465537ef |
children | f598de1bfcd4 |
comparison
equal
deleted
inserted
replaced
6311:44122bddd9a1 | 6312:1d696c646d81 |
---|---|
3292 | 3292 |
3293 p = ngx_cpymem(p, r->unparsed_uri.data, r->unparsed_uri.len); | 3293 p = ngx_cpymem(p, r->unparsed_uri.data, r->unparsed_uri.len); |
3294 | 3294 |
3295 ngx_memcpy(p, ending, sizeof(ending)); | 3295 ngx_memcpy(p, ending, sizeof(ending)); |
3296 | 3296 |
3297 /* some modules expect the space character after method name */ | |
3298 r->method_name.data = r->request_line.data; | |
3299 | |
3300 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 3297 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
3301 "http2 http request line: \"%V\"", &r->request_line); | 3298 "http2 http request line: \"%V\"", &r->request_line); |
3302 | 3299 |
3303 return NGX_OK; | 3300 return NGX_OK; |
3304 } | 3301 } |