Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate the content-length correctly
`lists:flatlength/1` does not return the correct size if the iolist has binaries. Use `erlang:iolist_size/1` instead. e.g. ``` lists:flatlength([<<"a">>, [<<"bc">>]]). 2 erlang:iolist_size([<<"a">>, [<<"bc">>]]). 3 ```
- Loading branch information