diff options
author | Roman Arutyunyan <arut@nginx.com> | 2015-06-16 13:45:19 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2015-06-16 13:45:19 +0300 |
commit | 4404c3fd6d10ce6e393113aabb32cfe7818ff8ac (patch) | |
tree | c8aa5543423d3e3ef102f75b077f28c6cd0a0efd /src/http/ngx_http_request.c | |
parent | 3ed1b3b5b0ab92666d1e24f9161561d580421f17 (diff) | |
download | nginx-4404c3fd6d10ce6e393113aabb32cfe7818ff8ac.tar.gz nginx-4404c3fd6d10ce6e393113aabb32cfe7818ff8ac.zip |
Core: renamed ngx_proxy_protocol_parse to ngx_proxy_protocol_read.
The new name is consistent with the ngx_proxy_protocol_write function.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 2669b522c..cd5f30230 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -467,7 +467,7 @@ ngx_http_wait_request_handler(ngx_event_t *rev) if (hc->proxy_protocol) { hc->proxy_protocol = 0; - p = ngx_proxy_protocol_parse(c, b->pos, b->last); + p = ngx_proxy_protocol_read(c, b->pos, b->last); if (p == NULL) { ngx_http_close_connection(c); @@ -675,7 +675,7 @@ ngx_http_ssl_handshake(ngx_event_t *rev) if (hc->proxy_protocol) { hc->proxy_protocol = 0; - p = ngx_proxy_protocol_parse(c, buf, buf + n); + p = ngx_proxy_protocol_read(c, buf, buf + n); if (p == NULL) { ngx_http_close_connection(c); |