aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-09-07Convert the cookie example to a releaseLoïc Hoguin
2013-09-07Convert the compressed response example to a releaseLoïc Hoguin
2013-09-07Convert the chunked hello world example to a releaseLoïc Hoguin
2013-09-07Rename the basic_auth example to rest_basic_authLoïc Hoguin
2013-09-07Convert the basic auth example to a releaseLoïc Hoguin
2013-09-07Convert the hello world example to a releaseLoïc Hoguin
2013-09-07Fix wrong header sent in echo_post exampleLoïc Hoguin
2013-09-07Implement recv timeout for SPDYLoïc Hoguin
2013-09-07Much improved Getting started chapterLoïc Hoguin
We now describe how to build a hello world application from start to finish, including setting up erlang.mk for building, and using relx for generating the release. All concepts are not explained in details of course, but we don't need to at this point, we just want things to be working.
2013-09-04Make cowlib a proper dependencyLoïc Hoguin
Start moving a few functions from Cowboy into cowlib.
2013-09-04More SPDY code readability improvementsLoïc Hoguin
2013-09-04Fix a badmatch issue when calling which_children on SPDY processLoïc Hoguin
2013-09-04Simplify the SPDY code by adding child management functionsLoïc Hoguin
2013-09-02Fix specs for SPDYLoïc Hoguin
2013-09-02Merge branch 'ipv6-literal' of git://github.com/yamt/cowboyLoïc Hoguin
2013-09-03add some tests for Host header parserYAMAMOTO Takashi
2013-09-02Add request body support for SPDYLoïc Hoguin
And various other improvements following the addition of two tests. New dependency cowlib that will gradually receive most of the parse code from SPDY but also HTTP and its headers.
2013-09-03make cowboy_client:request() allow to override Host headerYAMAMOTO Takashi
this will be used by tests
2013-09-03add unit test for cowboy_protocol:parse_host/1YAMAMOTO Takashi
2013-09-03cowboy_protocol: accept host using ipv6 literalYAMAMOTO Takashi
2013-08-31Use gun to test the SPDY implementation in CowboyLoïc Hoguin
2013-08-31Update erlang.mkLoïc Hoguin
2013-08-31Add note about SSL tests requiring R16B01Loïc Hoguin
2013-08-27Fix issue when modifying websocket exampleLoïc Hoguin
Thanks ale.
2013-08-27Fix some explanations around response bodiesLoïc Hoguin
2013-08-27Merge branch 'fix-ws-atom-responses' of git://github.com/seriyps/cowboyLoïc Hoguin
2013-08-27Alphabetical orderLoïc Hoguin
2013-08-27Merge branch 'websocket-compressed-metadata' of git://github.com/irccloud/cowboyLoïc Hoguin
2013-08-27Explain how to test and dialyzeLoïc Hoguin
2013-08-24Crash on failure, don't report errorsLoïc Hoguin
When something went wrong in a handler we used to report errors and then terminate the process normally. This doesn't work so well with links which won't detect failure. Now we still catch the error, but throw another one with more details on why it happened, including the Req object information and the stacktrace. Ranch will then print an error message with all this information. Because we crash directly, this also means that we will not hog resources unnecessarily for too long when something bad happens.
2013-08-24Update Ranch to 0.8.5Loïc Hoguin
2013-08-24Simpler code for sending errors following crashesLoïc Hoguin
2013-08-24Update erlang.mkLoïc Hoguin
2013-08-23SPDY sponsored by LeoFSLoïc Hoguin
2013-08-15add websocket_compress metadataRJ
2013-08-13Allow atom responses in websocket handlers #563Sergey Prokhorov
2013-08-10Merge branch 'patched' of git://github.com/kukhyun/cowboyLoïc Hoguin
2013-08-01Fix rest_pastebin exampleKuk-Hyun Lee
2013-07-22Merge branch 'master' of git://github.com/pmyarchon/cowboyLoïc Hoguin
2013-07-18Slight docs fix in cowboy_req.erlpmyarchon
2013-07-12Merge branch 'fix/websocket-inflate-unmask' of git://github.com/soundrop/cowboyLoïc Hoguin
2013-07-12Merge branch 'patch-1' of git://github.com/edgurgel/cowboyLoïc Hoguin
2013-07-12Merge branch 'fix-chunked-req' of git://github.com/fishcakez/cowboyLoïc Hoguin
2013-07-08Fix qs_vals description on missing value for a nameEduardo Gurgel
2013-07-08Use the proper typespec for the websocket_deflate_frame rsv bitsAli Sabil
2013-07-05Fix decoding of chunked body.James Fish
Previously cowboy_http:te_chunked/2 would enter an incorrect state if it tried to parse an incomplete chunk when the length was known from the partial chunk. Previosuly cowboy_http:te_chunked/2 expected the trailing "\r\n" to always be present if chunk body was present in the buffer. This is not guaranteed and so this commit accommodates that situation.
2013-07-02Fix handling of websocket fragmented deflated framesAli Sabil
2013-07-02Fix websocket unmasking when compression is enabledAli Sabil
The unmasking logic was based on the length of inflated data instead of the length of the deflated data. This meant data would get corrupted when we receive a websocket frame split across multiple TCP packets.
2013-07-02Add failing tests for the websocket deflate supportAli Sabil
2013-07-02Fix coding style in websocket_deflate_frame/3Ali Sabil