Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-29 | Add a section about closing the connection in the guide | Loïc Hoguin | |
2013-01-29 | Merge branch 'fix/callback_specs' of https://github.com/keynslug/cowboy | Loïc Hoguin | |
2013-01-29 | Makefile: only recompile files newer than the .app | Loïc Hoguin | |
2013-01-29 | Update Ranch to 0.6.1 | Loïc Hoguin | |
2013-01-29 | Update roadmap | Loïc Hoguin | |
2013-01-29 | If a binding is reused, we check that values are identical | Loïc Hoguin | |
This is more for consistency than anything. | |||
2013-01-28 | Add the 'function' constraint | Loïc Hoguin | |
2013-01-28 | Add the 'int' constraint | Loïc Hoguin | |
2013-01-28 | New routing | Loïc Hoguin | |
Ultimately few things change, it's mostly just a nicer syntax and slightly different expectations. The name of the value `dispatch` did not change, because the previous dispatch values will now fail if the code is not updated to using `cowboy_router:compile/1`. No constraints have been implemented in this commit. | |||
2013-01-26 | Update handler callback specs | Andrew Majorov | |
There is one another {upgrade, ...} quintuple allowed as the result of Handler:init call, somewhy not mentioned in the callback specifications. | |||
2013-01-22 | Remove cowboy_dispatcher | Loïc Hoguin | |
Types and code are moved to cowboy_router. The match/3 export from cowboy_dispatcher isn't available anymore as it is called internally. | |||
2013-01-22 | Merge branch 'fix_change_state' of https://github.com/nevar/cowboy | Loïc Hoguin | |
2013-01-22 | Add HTML5 Video Example to the static example | Loïc Hoguin | |
2013-01-22 | Fix handler state change in cowboy_rest | Slava Yurin | |
2013-01-22 | Do not crash if connection is closed while sending static file | Loïc Hoguin | |
2013-01-22 | Merge branch 'master' of https://github.com/0x00F6/cowboy | Loïc Hoguin | |
2013-01-22 | Make cowboy_static use universal time | 0x00F6 | |
2013-01-22 | Do not require inets for running tests anymore | Loïc Hoguin | |
2013-01-22 | Replace terminate/2 with terminate/3, adding a Reason | Loïc Hoguin | |
This should have been done a *long* time ago, back when I initially added Websocket support. This is the first part of two in improving loop handler support with regards to socket closure. Reason may include: {normal, shutdown} for the most normal shutdown, {normal, timeout} for a loop handler timeout shutdown, or {error, _} if an error occured. | |||
2013-01-22 | Fix cowboy_websocket_handler callback spec | Loïc Hoguin | |
2013-01-21 | Merge pull request #369 from rramsden/patch-1 | Loïc Hoguin | |
Fix typo in the guide introduction | |||
2013-01-21 | Improve keepalive tests | Loïc Hoguin | |
2013-01-20 | Fix an issue for replies in onresponse mishandling headers | Loïc Hoguin | |
Reported and fixed over email by Adrian Roe. | |||
2013-01-20 | First draft done for the request object guide chapter | Loïc Hoguin | |
2013-01-20 | Add missing clause to cowboy_req:has_resp_body/1 | Loïc Hoguin | |
2013-01-19 | More request object documentation in the guide | Loïc Hoguin | |
2013-01-19 | Make cowboy_req:has_body/1 return boolean() | Loïc Hoguin | |
This makes it similar to the other has_* functions. | |||
2013-01-18 | Document the static handler in the guide | Loïc Hoguin | |
2013-01-18 | Finish up the Internals chapter | Loïc Hoguin | |
2013-01-18 | Document loop handlers in the guide | Loïc Hoguin | |
2013-01-18 | Remove a few old @todo comments | Loïc Hoguin | |
2013-01-18 | Set max_keepalive default to 100 instead of infinity | Loïc Hoguin | |
2013-01-18 | Beginning of request object chapter in the guide | Loïc Hoguin | |
2013-01-18 | Add plain HTTP handlers documentation to the guide | Loïc Hoguin | |
2013-01-18 | Finish the routing chapter of the guide | Loïc Hoguin | |
Note that this is the new routing not yet available in master. The code should follow in a few days. | |||
2013-01-18 | Fix capitalize_hook example | Loïc Hoguin | |
2013-01-17 | Fix typo in the guide introduction | Richard Ramsden | |
2013-01-18 | Add hooks documentation to the guide | Loïc Hoguin | |
2013-01-18 | Do not use tabulations in the guide | Loïc Hoguin | |
2013-01-18 | Explain how to write custom protocol upgrades in the guide | Loïc Hoguin | |
2013-01-17 | Get the basics of Websocket covered in the guide | Loïc Hoguin | |
2013-01-17 | Add cowboy_bstr:capitalize_token/1 | Loïc Hoguin | |
For optional header name capitalization. See the guide section about it. | |||
2013-01-17 | Add cowboy_websocket:close_code/0 | Loïc Hoguin | |
Also fixes a warning. | |||
2013-01-17 | Add recursive dependency fetching to the Makefile | Loïc Hoguin | |
Also small other changes like how we build the PLT. | |||
2013-01-14 | Add Sec-Websocket-Protocol header parsing | Loïc Hoguin | |
2013-01-14 | Improve websocket close handling | Loïc Hoguin | |
We now always send a failure reason (bad protocol, bad encoding, etc.) unless the closure was initiated by the client and it didn't send a close code. We now check that the close frames have a payload that is valid UTF-8, unless they don't have a payload at all. We now do not crash the process anymore when bad opcodes are sent, or when the opcode 0 is sent before fragmentation was initiated. Overall this makes us closer to full compliance with the RFC. | |||
2013-01-13 | Websocket text frames are now checked for UTF-8 correctness | Loïc Hoguin | |
The autobahntestsuite now passes 100% of the tests. We are getting close to fully implementing the Websocket RFC. | |||
2013-01-12 | Unmask websocket frames on the fly and optimize the code | Loïc Hoguin | |
No change in functionality, but this will allow us to validate that text frames are utf8 without having to receive the frame entirely. | |||
2013-01-12 | All frames sent from client to server MUST be masked | Loïc Hoguin | |
Good in theory, but implementations may vary. If something stops working after this commit we might need some tweaks to support existing clients. Please try it and give feedback. | |||
2013-01-11 | Fix getting started example, missing env | Loïc Hoguin | |