aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_raw.erl
diff options
context:
space:
mode:
authorrinpatch <[email protected]>2020-09-24 00:06:51 +0300
committerLoïc Hoguin <[email protected]>2020-10-07 11:12:59 +0200
commitc2c0203a5c1e8bcf14b7a26d53c3cb7cc6fd565b (patch)
tree758d20bf40a2046a5146b7f6954cdee60bfd2f46 /src/gun_raw.erl
parent2f4046c13213ed2cd7d51d6422e74170bf22d2fc (diff)
downloadgun-c2c0203a5c1e8bcf14b7a26d53c3cb7cc6fd565b.tar.gz
gun-c2c0203a5c1e8bcf14b7a26d53c3cb7cc6fd565b.tar.bz2
gun-c2c0203a5c1e8bcf14b7a26d53c3cb7cc6fd565b.zip
Normalize headers in ws_upgrade
In the documentation headers passed to ws_upgrade are typed as gun:req_headers(), however if a map of headers is passed (which is allowed by the type), the gun process will crash when trying to operate on it as if it were a list.
Diffstat (limited to 'src/gun_raw.erl')
0 files changed, 0 insertions, 0 deletions