aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
AgeCommit message (Collapse)Author
2012-08-27Switch to Ranch for connection handlingLoïc Hoguin
This is the first of many API incompatible changes. You have been warned.
2012-05-23Update version to 0.6.00.6.0Loïc Hoguin
Also update the CHANGELOG and copyright years.
2012-01-23Improve the listener name in the READMELoïc Hoguin
2012-01-09Add HTTP handler loops to the READMELoïc Hoguin
2011-12-15Add cowboy:accept_ack/1 for a cleaner handling of the shoot messageLoïc Hoguin
2011-12-07replace quoted:from_url with cowboy_http:urldecodeMagnus Klaar
This change makes the dependency on quoted optional by adding a minimal urldecode function to cowboy. A protocol option for setting the urldecoding function has been added to the cowboy_http_protocol module. The default value for this option is set to be equivalent to the default settings for quoted. {fun cowboy_http:urldecode/2, crash} A note has been added in the README to document how to use quoted instead of this function. A field to store this option value has been added to the state record in the cowboy_http_protocol module and the http_req record in include/http.hrl Functions that previously used quoted:from_url/1 has been updated to require an equivalent function in addition to the previously required arguments. This change removes a C compiler from the build requirements of cowboy. It also removes the requirement to cross compile the code if the target arch/OS is different from the arch/OS used to build it.
2011-10-25Update README.mdMathieu Lecarme
2011-09-13Improve the Cowboy definition in the READMELoïc Hoguin
2011-08-23Add WebSocket drafts 7, 8, 9 and 10 implementationLoïc Hoguin
The implementation is only partial for now but should work for all browsers implementing it.
2011-08-11Add Transport:setopts/2 note for writing protocolsLoïc Hoguin
2011-08-10Give the ListenerPid to the protocol on startupLoïc Hoguin
Also sends a message 'shoot' that can be received by the protocol to make sure Cowboy has had enough time to fully initialize the socket. This message should be received before any socket-related operations are performed. WebSocket request connections are now moved from the pool 'default' to the pool 'websocket', meaning we can have a lot of running WebSockets despite having a low 'max_connections' setting.
2011-07-19Separate message and packet handling for websocketsLoïc Hoguin
Improves the readability of websocket handler code by having two functions: websocket_handle/3 handles the packets received from the socket, removing the tuple construct that was otherwise needed, so only websocket_handle(Data, Req, State) is needed now; websocket_info/3 handles the messages that the websocket handler process received, as websocket_info(Info, Req, State). Both functions return values are handled identically by Cowboy so nothing changes on that end.
2011-06-30Add a link to cowboy_examples in the READMELoïc Hoguin
2011-05-16README: Grammar fixes.Loïc Hoguin
Thanks Mewn!
2011-05-16Document the path info featureAnthony Ramine
2011-05-07Removed a few lines from the README for pedantic correctness.Loïc Hoguin
2011-05-07Improve READMEAnthony Ramine
2011-05-07Greatly improve the README.Loïc Hoguin
Forward me any more questions and I'll continue on improving it.
2011-04-30Merge pull request #5 from yrashk/patch-1.Loïc Hoguin
README: added a mentioning of agner dependencies mechanism
2011-04-30README: added a mentioning of agner dependencies mechanismYurii Rashkovskii
2011-04-30Use syntax highlighted code block in README.mdAnthony Ramine
GitHub just implemented that and we should use it. https://github.com/blog/832-rolling-out-the-redcarpet
2011-04-03Fix a grammar error reported by DeadZen on IRC.Loïc Hoguin
2011-04-03Make Cowboy an OTP application again, properly this time.Loïc Hoguin
As requested by many people on IRC Cowboy is now a proper OTP application to support soft code upgrades. It should also be easier to start and stop listeners now using cowboy:start_listener/6 and cowboy:stop_listener/1.
2011-04-02Anonymize and improve the cowboy supervision tree.Loïc Hoguin
* Cowboy isn't an OTP application anymore; just a supervisor. * All processes started by Cowboy are now anonymous. * All processes related to a listener are now part of its supervision tree.
2011-03-22Forward transport and protocol name to Handler:init.Loïc Hoguin
2011-03-20Rename the title for Getting Started in the README.Loïc Hoguin
2011-03-19Rewrite the dispatcher to take a list of host each having a list of paths.Loïc Hoguin
* Makes more sense to parse the host only once instead of for each path. * Allows proper handling of: If the host is not a valid host on the server, the response MUST be a 400 (Bad Request) error.
2011-03-18Move the reply function to cowboy_http_req.Loïc Hoguin
2011-03-18Introduce Handler:terminate to cleanup the handler's state.Loïc Hoguin
2011-03-18Handler:init/2 should also return the Request in case it changed.Loïc Hoguin
2011-03-18Introduce Handler:init/2 for initializing the handler state.Loïc Hoguin
We need an init function in order to process upgrade instructions for protocols like WebSockets, but also to request an active receive mode for long-polling connections, both of which will be implemented at a later time.
2011-03-17Initial commit.Loïc Hoguin