aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_raw.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-02-27 12:19:07 +0100
committerLoïc Hoguin <[email protected]>2020-02-27 12:38:39 +0100
commit1bdc4fdb8f8634075944671ae00d14dadeba89df (patch)
treea8982ccb3d59a3d30650e60473199e97ae314ec3 /src/gun_raw.erl
parent1b7b5ca356609574dac30dbec846dbd75718624e (diff)
downloadgun-1bdc4fdb8f8634075944671ae00d14dadeba89df.tar.gz
gun-1bdc4fdb8f8634075944671ae00d14dadeba89df.tar.bz2
gun-1bdc4fdb8f8634075944671ae00d14dadeba89df.zip
Detect invalid HTTP/2 preface errors
And make sure all HTTP/2 connection_error(s) result in a gun_down message containing the error. In the preface case we do not send a gun_error message (because there's no stream open yet) and gun_down was always saying normal. Also make sure the human readable reason is included in the gun_error message, if any.
Diffstat (limited to 'src/gun_raw.erl')
0 files changed, 0 insertions, 0 deletions