aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
2013-07-02Remove usage of the inflate bufferAli Sabil
2013-06-29Merge branch 'fix/http-tests-get-mtu' of git://github.com/soundrop/cowboyLoïc Hoguin
2013-06-29Merge branch 'fix_docs' of git://github.com/pannonia-technologies/cowboyLoïc Hoguin
2013-06-27Minor corrections of the guideMatthias Endler
2013-06-27Remove unknown keys from .app.src fileLoïc Hoguin
2013-06-27Greatly improve the guide introductionLoïc Hoguin
2013-06-23Reword the clean erlang code partLoïc Hoguin
We don't care about parameterized modules anymore. They're gone!
2013-06-20Fix compilation < R16B010.8.6Loïc Hoguin
2013-06-20Update to 0.8.6Loïc Hoguin
2013-06-20Update CHANGELOGLoïc Hoguin
2013-06-20Update AUTHORSLoïc Hoguin
2013-06-20Ignore deprecation warning for crypto:sha/1 for nowLoïc Hoguin
We can change this call when we start supporting only R16B+, which may happen when R17B is released or some time before.
2013-06-20Add asn1 to the list of applications to be started for SSLLoïc Hoguin
Required since R16B01. And apparently needed in some cases before.
2013-06-20Update Ranch to 0.8.4Loïc Hoguin
2013-06-20Merge branch 'feature/websocket-deflate-frame' of ↵Loïc Hoguin
git://github.com/soundrop/cowboy
2013-06-20Add support for the webkit deflate frame extensionAli Sabil
2013-06-19Update erlang.mkLoïc Hoguin
2013-06-19Merge branch 'fix/crash-on-invalid-accept-encoding' of ↵Loïc Hoguin
git://github.com/soundrop/cowboy
2013-06-13Use ct_helper for retrieving the loopack interface MTUAli Sabil
2013-06-10Avoid crashing in cowboy_req on invalid Accept-Encoding headerAli Sabil
Certain clients send malformed Accept-Encoding headers, which causes cowboy_req to crash is compression is enabled.
2013-06-10Improve the detection of localhost interfaces for the HTTP test suiteAli Sabil
2013-06-08Merge branch 'dont_overwrite_stacktrace' of git://github.com/urbanserj/cowboyLoïc Hoguin
2013-06-07Merge branch 'read_with_utc' of git://github.com/narma/cowboyLoïc Hoguin
2013-06-07Don't overwrite stacktrace in `cowboy_rest:error_terminate/2`Sergey Urbanovich
This stacktrace is very useful in the `onresponse` hook. For example: ```erlang internal_error_hook(500, Headers, <<>>, Req) -> StackTrace = erlang:get_stacktrace(), Headers0 = [{N, V} || {N, V} <- Headers, N =/= <<"content-length">>], Body = io_lib:format("~p", [StackTrace]), {ok, Req0} = cowboy_req:reply(500, Headers0, Body, Req), Req0; internal_error_hook(Status, Headers, Body, Req) -> {ok, Req0} = cowboy_req:reply(Status, Headers, Body, Req), Req0. ```
2013-06-07Merge branch 'types' of git://github.com/lavrin/cowboyLoïc Hoguin
2013-06-07Merge branch 'spdy-zero-length-header-names' of git://github.com/bgentry/cowboyLoïc Hoguin
2013-06-07Use read_file_info/2 with {time, universal} optionSergey Rublev
2013-06-07Fix the reading of the localhost MTU in the HTTP testsAli Sabil
Sometimes the localhost interface has a different name from "lo", this fix adds a helper function to read the MTU value when the interface name starts with "lo".
2013-06-05Fix a couple control_frame clauses that were too largeLoïc Hoguin
2013-06-03Add sendfile support to SPDY, enabling cowboy_static useLoïc Hoguin
2013-06-03Move static files creation into ct_helperLoïc Hoguin
2013-06-02Fix cowboy:start_http/https/spdy typespecsRadosław Szymczyszyn
2013-05-31zero-length header names MUST issue a stream errorBlake Gentry
2013-05-31Don't crash on empty Cookie headerLoïc Hoguin
It's not allowed, however a heavily deployed client (Flash player) can send such an empty header, therefore we make a special condition for it and return an empty list when it happens.