mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Initial support for the PROXY protocol header
Depend on Ranch master for now since it isn't in any release yet.
This commit is contained in:
parent
a002df4560
commit
122faedc25
8 changed files with 321 additions and 45 deletions
|
@ -126,6 +126,7 @@
|
|||
% pid := pid(),
|
||||
% streamid := cowboy_stream:streamid(),
|
||||
% peer := {inet:ip_address(), inet:port_number()},
|
||||
% proxy_header => ...
|
||||
%
|
||||
% method := binary(), %% case sensitive
|
||||
% version := cowboy:http_version() | atom(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue