Closed leoliu closed 5 years ago
in accordance with the spec https://tools.ietf.org/html/rfc7230#section-3.2:
header-field = field-name ":" OWS field-value OWS
This fix is prompted by the following entry that shows up in report.log from time to time:
=ERROR REPORT==== 3-Apr-2019::18:19:00.139688 === Yaws process died: {badarg, [{erlang,list_to_integer,["0 "],[]}, {yaws_server,body_method,4, [{file, "/myapp/_build/default/lib/yaws/src/yaws_server.erl"}, {line,1737}]}, {yaws_server,aloop,4, [{file, "/myapp/_build/default/lib/yaws/src/yaws_server.erl"}, {line,1261}]}, {yaws_server,acceptor0,2, [{file, "/myapp/_build/default/lib/yaws/src/yaws_server.erl"}, {line,1073}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,249}]}]}
I manually squashed these commits and rebased to master. Thanks for the fix!
Thanks.
in accordance with the spec https://tools.ietf.org/html/rfc7230#section-3.2:
This fix is prompted by the following entry that shows up in report.log from time to time:
=ERROR REPORT==== 3-Apr-2019::18:19:00.139688 === Yaws process died: {badarg, [{erlang,list_to_integer,["0 "],[]}, {yaws_server,body_method,4, [{file, "/myapp/_build/default/lib/yaws/src/yaws_server.erl"}, {line,1737}]}, {yaws_server,aloop,4, [{file, "/myapp/_build/default/lib/yaws/src/yaws_server.erl"}, {line,1261}]}, {yaws_server,acceptor0,2, [{file, "/myapp/_build/default/lib/yaws/src/yaws_server.erl"}, {line,1073}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,249}]}]}