Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2015-06-16 13:45:16 +0300
committerRoman Arutyunyan <arut@nginx.com>2015-06-16 13:45:16 +0300
commit3ed1b3b5b0ab92666d1e24f9161561d580421f17 (patch)
treefa6c99aa73ba6662869531cdd38e1f85fc093a51 /src/core/ngx_proxy_protocol.h
parentf50f83a2cfce53c29363fb638054fd47dd6ae61f (diff)
Stream: client-side PROXY protocol.
The new directive "proxy_protocol" toggles sending out PROXY protocol header to upstream once connection is established.
Diffstat (limited to 'src/core/ngx_proxy_protocol.h')
-rw-r--r--src/core/ngx_proxy_protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_proxy_protocol.h b/src/core/ngx_proxy_protocol.h
index 4f3912512..e9ad5d53f 100644
--- a/src/core/ngx_proxy_protocol.h
+++ b/src/core/ngx_proxy_protocol.h
@@ -18,6 +18,8 @@
u_char *ngx_proxy_protocol_parse(ngx_connection_t *c, u_char *buf,
u_char *last);
+u_char *ngx_proxy_protocol_write(ngx_connection_t *c, u_char *buf,
+ u_char *last);
#endif /* _NGX_PROXY_PROTOCOL_H_INCLUDED_ */