aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/rest_simple_resource.erl
diff options
context:
space:
mode:
authorJames Fish <[email protected]>2013-11-18 20:32:47 +0000
committerJames Fish <[email protected]>2013-11-18 23:19:37 +0000
commit1c474af8ee4c61c9cbbf6ef4e121d1d82af75151 (patch)
treef13c6bf6ccefe64d8f913a8c566a560edbf7a21d /test/http_SUITE_data/rest_simple_resource.erl
parent5a25c7f7f2167b8cef03129553e56f422a9890f2 (diff)
downloadcowboy-1c474af8ee4c61c9cbbf6ef4e121d1d82af75151.tar.gz
cowboy-1c474af8ee4c61c9cbbf6ef4e121d1d82af75151.tar.bz2
cowboy-1c474af8ee4c61c9cbbf6ef4e121d1d82af75151.zip
Fix loop handler keepalive race condition
Previously if a loop handler received the timeout message from a previous request on the same connection the socket would be set to {active, once} incorrectly - when a socket packet was already in the message queue. This second packet would not be added to the buffer before a Handler:info/3 call if a user message was in the message queue before both socket packets.
Diffstat (limited to 'test/http_SUITE_data/rest_simple_resource.erl')
0 files changed, 0 insertions, 0 deletions