Loïc Hoguin
|
65ed13d2da
Do not reset the connection timeout timer on send
|
12 years ago |
Loïc Hoguin
|
638638a841
Fix {cowboy_req, resp_sent} potentially leaking in loop handlers
|
12 years ago |
Loïc Hoguin
|
cd680706cd
Add cowboy_websocket:close_code/0
|
12 years ago |
Loïc Hoguin
|
8d69099508
Improve websocket close handling
|
12 years ago |
Loïc Hoguin
|
5dd09737d0
Websocket text frames are now checked for UTF-8 correctness
|
12 years ago |
Loïc Hoguin
|
cccc0bc475
Unmask websocket frames on the fly and optimize the code
|
12 years ago |
Loïc Hoguin
|
71b68d53d9
All frames sent from client to server MUST be masked
|
12 years ago |
Loïc Hoguin
|
10e3692fa6
Remove support for Websocket hixie76 draft
|
12 years ago |
Loïc Hoguin
|
c930327fbf
Remove cowboy_req:transport/1
|
12 years ago |
Loïc Hoguin
|
1b3f510b7e
Add middleware support
|
12 years ago |
Jeremy Ong
|
5f122d9fa6
Cancel timer only on websocket_data receives or sends
|
12 years ago |
Andrew Thompson
|
d916d739d4
Make the arguments to error_logger more consistent
|
12 years ago |
Loïc Hoguin
|
6d4e15705f
Add {close, StatusCode, Payload} and fix {close, Payload}
|
12 years ago |
Loïc Hoguin
|
d2ccd2e090
Merge branch 'websocket_terminate_not_called' of git://github.com/dergraf/cowboy
|
12 years ago |
Andre Graf
|
ae2a6cfb68
call websocket_terminate in case of a handshake error
|
12 years ago |
Loïc Hoguin
|
db6b1596ae
Make a few more missing headers lowercase
|
12 years ago |
Loïc Hoguin
|
067958abd2
Add more frame types available in websocket replies
|
12 years ago |
Loïc Hoguin
|
45dd67741f
Clarify error reports indicating they come from Cowboy
|
12 years ago |
Ali Sabil
|
9b0049fdd7
Check for errors when calling Transport:send in the websocket protocol
|
13 years ago |
Loïc Hoguin
|
09914c4693
Allow websocket handlers to reply more than one frame
|
12 years ago |
Loïc Hoguin
|
aeb86e70c1
Add crypto into the required applications
|
12 years ago |
Loïc Hoguin
|
34021666cb
Don't use decode_packet/3 for parsing the headers
|
12 years ago |
Loïc Hoguin
|
8d5f8db90a
Improve consistency of return types for cowboy_req API
|
12 years ago |
Loïc Hoguin
|
9ef94fb64e
Introduce cowboy_req:set_meta/3 to set request metadata
|
12 years ago |
Loïc Hoguin
|
0aaa717575
Remove duplicate code for ensure_response
|
12 years ago |
Loïc Hoguin
|
27d591180c
Add cowboy_req:url/1 to return the full request URL
|
12 years ago |
Loïc Hoguin
|
cd54214def
Avoid a duplicate HTTP reply in cowboy_websocket:upgrade_error/1
|
12 years ago |
Loïc Hoguin
|
35ebe0b108
Put socket and transport into cowboy_websocket's #state{}
|
12 years ago |
Loïc Hoguin
|
bb4bd9ac96
Add a cowboy_req:to_list/1 function
|
12 years ago |
Loïc Hoguin
|
9b5cbb5000
Remove two unneeded Req modifications
|
12 years ago |