diff options
author | Roman Arutyunyan <arut@nginx.com> | 2015-06-16 13:45:16 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2015-06-16 13:45:16 +0300 |
commit | 3ed1b3b5b0ab92666d1e24f9161561d580421f17 (patch) | |
tree | fa6c99aa73ba6662869531cdd38e1f85fc093a51 /src/core/ngx_proxy_protocol.h | |
parent | f50f83a2cfce53c29363fb638054fd47dd6ae61f (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.h | 2 |
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_ */ |