aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/multipart_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-07-26 17:31:12 +0200
committerLoïc Hoguin <[email protected]>2017-07-26 17:36:41 +0200
commit4fa7aeb0fd2e68fba267b33538685a7e1e18f4aa (patch)
tree4d42118c4c1136782ea2e7cabc7a20ffd2e8dfa2 /test/handlers/multipart_h.erl
parent238ac3afc661046fb554a8bbb62d2b9912023247 (diff)
downloadcowboy-4fa7aeb0fd2e68fba267b33538685a7e1e18f4aa.tar.gz
cowboy-4fa7aeb0fd2e68fba267b33538685a7e1e18f4aa.tar.bz2
cowboy-4fa7aeb0fd2e68fba267b33538685a7e1e18f4aa.zip
Fix HTTP/2 server push
Cowboy was encoding the headers then decoding them when initializing the request. The problem is that the encoding and decoding contexts are not the same. Now, Cowboy will directly use the headers it received in the push command for the new request. This is also more efficient. I am surprised it worked at all considering the issue.
Diffstat (limited to 'test/handlers/multipart_h.erl')
0 files changed, 0 insertions, 0 deletions