Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@leonardb
Copy link
Contributor

strip leading and trailing spaces from headers. Prevent badarg crash erlang:list_to_integer for content-length header

@leonardb
Copy link
Contributor Author

leonardb commented May 3, 2012

Requested changes are in commits;
Header value trim: b6f18de
Unit test added: b930c61

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case it has to exit with the same reason, do
exit:{noproc, Reason} ->
and then
exit({noproc, Reason})

It's not necessary to decode the tuple

@lastres lastres mentioned this pull request Jan 14, 2013
@dcorbacho dcorbacho merged commit a719d76 into esl:master Jan 14, 2013
cjkjellander pushed a commit to campanja-forks/lhttpc that referenced this pull request Jul 19, 2018
g-andrade pushed a commit to g-andrade/lhttpc that referenced this pull request May 22, 2020
…_types

Prevent having to import a whole .hrl for a couple of types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants