0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/test
Loïc Hoguin d0f711a61d Add a test for websocket hibernate + timeout and fix this use case
The issue was that we were calling erlang:hibernate before a
receive .. after .. end call. Erlang hibernates the process before
reaching the receive instruction and we therefore couldn't enter
the after clause when hibernating.

This is now fixed by using erlang:send_after instead and receiving
that message instead of using an after clause.
2011-09-22 23:15:54 +02:00
..
http_SUITE_data Initial work on a ct test suite for the HTTP protocol. 2011-04-08 16:30:37 +02:00
chunked_handler.erl Add chunked reply support. 2011-05-08 17:26:21 +02:00
dispatcher_prop.erl Add a PropEr test for cowboy_dispatcher:split_host/1 2011-07-26 10:46:06 +02:00
http_handler.erl Fix a bug where dupe headers were sent in cowboy_http_req:reply/4. 2011-04-14 01:32:02 +02:00
http_SUITE.erl Add a test for websocket hibernate + timeout and fix this use case 2011-09-22 23:15:54 +02:00
proper_SUITE.erl Add a PropEr test for cowboy_dispatcher:split_host/1 2011-07-26 10:46:06 +02:00
websocket_handler.erl Add WebSocket drafts 7, 8, 9 and 10 implementation 2011-08-23 23:49:58 +02:00
ws_timeout_hibernate_handler.erl Add a test for websocket hibernate + timeout and fix this use case 2011-09-22 23:15:54 +02:00