aboutsummaryrefslogtreecommitdiffstats
path: root/HOWTO
diff options
context:
space:
mode:
authorJohannes Weißl <[email protected]>2015-11-14 16:29:13 +0100
committerJohannes Weißl <[email protected]>2015-11-15 09:09:51 +0100
commit25c9d0c38d659cc00db461d760f66369e9024c54 (patch)
tree13e07712695bb4f7466da7ba5332aa8b7a537598 /HOWTO
parent0db6272323fd662cb43f5bb4d24f01daa8a6647d (diff)
downloadotp-25c9d0c38d659cc00db461d760f66369e9024c54.tar.gz
otp-25c9d0c38d659cc00db461d760f66369e9024c54.tar.bz2
otp-25c9d0c38d659cc00db461d760f66369e9024c54.zip
inets: Terminate really gracefully on bad chunk
Without this fix, httpc:request/1 crashes the httpc_handler when an invalid chunked length header is encountered (since 77acb47): =ERROR REPORT==== 14-Nov-2015::17:19:30 === ** Generic server <0.651.0> terminating ** Last message in was {tcp,#Port<0.5714>, <<"HTTP/1.1 200 ok\r\nTransfer-Encoding:chunked\r\n\r\nåäö\r\n">>} ** When Server state == {state, [...] ** Reason for termination == ** {bad_return_value,{error,{chunk_size,"åäö"}}}
Diffstat (limited to 'HOWTO')
0 files changed, 0 insertions, 0 deletions