diff options
author | Loïc Hoguin <[email protected]> | 2018-11-26 11:52:27 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-26 11:52:27 +0100 |
commit | 0d9ad0a8445e7ba6e8bf9591257fa4457dda8321 (patch) | |
tree | 456dc3ad8457c00c9870bc32f40195d4430104e0 /src/ranch_protocol.erl | |
parent | 7423a7bb6dde5edc26283544956ae7387fa69688 (diff) | |
download | ranch-0d9ad0a8445e7ba6e8bf9591257fa4457dda8321.tar.gz ranch-0d9ad0a8445e7ba6e8bf9591257fa4457dda8321.tar.bz2 ranch-0d9ad0a8445e7ba6e8bf9591257fa4457dda8321.zip |
Use the correct CRC32 algorithm for the PROXY header
Turns out it wasn't the plain CRC32 algorithm that should have
been used, whoops!
The implementation was adapted from pseudo code from
Thomas Cioppettini.
I've renamed the PROXY header building option value for
checksum from crc32 to crc32c and updated the documentation.
There is no support for plain crc32 checksums.
Diffstat (limited to 'src/ranch_protocol.erl')
0 files changed, 0 insertions, 0 deletions