diff options
author | Loïc Hoguin <[email protected]> | 2020-02-27 12:19:07 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-02-27 12:38:39 +0100 |
commit | 1bdc4fdb8f8634075944671ae00d14dadeba89df (patch) | |
tree | a8982ccb3d59a3d30650e60473199e97ae314ec3 /src/gun_content_handler.erl | |
parent | 1b7b5ca356609574dac30dbec846dbd75718624e (diff) | |
download | gun-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_content_handler.erl')
0 files changed, 0 insertions, 0 deletions