aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_static.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-10-21 13:09:20 +0100
committerLoïc Hoguin <[email protected]>2017-10-21 13:09:20 +0100
commitc62ce1c63e2801640e36c7a480e9250ec8108d24 (patch)
tree8c8a135ee27fbc9c4f598c9172f4a0891fa31a30 /src/cowboy_static.erl
parent1ef5a1c45bd56fb9080ff0195c5ea74f88bcd71a (diff)
downloadcowboy-c62ce1c63e2801640e36c7a480e9250ec8108d24.tar.gz
cowboy-c62ce1c63e2801640e36c7a480e9250ec8108d24.tar.bz2
cowboy-c62ce1c63e2801640e36c7a480e9250ec8108d24.zip
Fix stream handler state being discarded on terminate
When we have to send a response before terminating a stream, we call info. The state returned by this info call was discarded when we called terminate after that. This commit fixes it. There are no tests for this, however the new metrics test in the next commit requires the correct behavior so this is ultimately covered.
Diffstat (limited to 'src/cowboy_static.erl')
0 files changed, 0 insertions, 0 deletions