sergey-dryabzhinsky / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
1.02k stars 217 forks source link

Use ngx_proxy_protocol_read() for proxy_protocol #351

Open mmasaki opened 2 years ago

mmasaki commented 2 years ago

This change uses ngx_proxy_protocol_read() for proxy_protocol. It can handle both proxy protocol v1 and v2.