aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_proxy_protocol.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2015-06-16 13:45:19 +0300
committerRoman Arutyunyan <arut@nginx.com>2015-06-16 13:45:19 +0300
commit4404c3fd6d10ce6e393113aabb32cfe7818ff8ac (patch)
treec8aa5543423d3e3ef102f75b077f28c6cd0a0efd /src/core/ngx_proxy_protocol.c
parent3ed1b3b5b0ab92666d1e24f9161561d580421f17 (diff)
downloadnginx-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/core/ngx_proxy_protocol.c')
-rw-r--r--src/core/ngx_proxy_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_proxy_protocol.c b/src/core/ngx_proxy_protocol.c
index 74bc623f4..f347e7f43 100644
--- a/src/core/ngx_proxy_protocol.c
+++ b/src/core/ngx_proxy_protocol.c
@@ -10,7 +10,7 @@
u_char *
-ngx_proxy_protocol_parse(ngx_connection_t *c, u_char *buf, u_char *last)
+ngx_proxy_protocol_read(ngx_connection_t *c, u_char *buf, u_char *last)
{
size_t len;
u_char ch, *p, *addr;