diff --git a/src/ranch_proxy_protocol.app.src b/src/ranch_proxy_protocol.app.src index 65e2997..9a1c933 100644 --- a/src/ranch_proxy_protocol.app.src +++ b/src/ranch_proxy_protocol.app.src @@ -10,6 +10,6 @@ ]}, {env, [{proxy_protocol_timeout, 55000}, % Never put 'infinity' {ssl_accept_opts, []}]}, - {links,[{"Github","https://github.com/heroku/ranch_proxy_protocol"}]}, - {licenses, ["BSD 3-Clause"]} + {links,[{"GitHub","https://github.com/heroku/ranch_proxy_protocol"}]}, + {licenses, ["BSD-3-Clause"]} ]}. diff --git a/src/ranch_proxy_protocol.erl b/src/ranch_proxy_protocol.erl index ba2b96c..2f7ede4 100644 --- a/src/ranch_proxy_protocol.erl +++ b/src/ranch_proxy_protocol.erl @@ -385,7 +385,7 @@ parse_proxy_protocol_v1(_) -> %% and 1 full byte for the length of information regarding addresses and SSL (if any) %% %% 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 .... -%% | version |proxy/local| inet[6] | TCP/UDP | lenght of information | info +%% | version |proxy/local| inet[6] | TCP/UDP | length of information | info %% parse_proxy_protocol_v2(<>) -> {local, family(X), protocol(Y), Len};