aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2018-08-23 14:37:30 +0200
committerPéter Dimitrov <[email protected]>2018-08-24 16:08:13 +0200
commit0dceb1347440c8ff5ec0f572d2fd6bee782374a2 (patch)
tree72088c563b8ed6784e9383a1a8159bd247abd712 /lib/diameter
parent70aceaec7a985c27787f37ce07e4b072ec52ed61 (diff)
downloadotp-0dceb1347440c8ff5ec0f572d2fd6bee782374a2.tar.gz
otp-0dceb1347440c8ff5ec0f572d2fd6bee782374a2.tar.bz2
otp-0dceb1347440c8ff5ec0f572d2fd6bee782374a2.zip
inets: Robust handling of 204, 304, 1xx responses
All 1xx (informational), 204 (no content), and 304 (not modified) responses MUST NOT include a message-body, and thus are always terminated by the first empty line after the header fields. This implies that chunked encoding MUST NOT be used for these status codes. This commit updates the client to gracefully handle responses from faulty server implementations that can send chunked encoded 204, 304 or 1xx responses. Change-Id: I2dd502e28b3c6e121640083118fa5c3e479f5194
Diffstat (limited to 'lib/diameter')
0 files changed, 0 insertions, 0 deletions