aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.
2013-05-31In content-types, the charset parameter is converted to lowercaseLoïc Hoguin
We know this specific parameter is case insensitive so we automatically lowercase it to make things simpler to the developer.
2013-05-31Improve generate_etag return value descriptionLoïc Hoguin
2013-05-31Merge branch 'rest_method' of git://github.com/dvv/cowboyLoïc Hoguin
2013-05-30Add experimental and incomplete SPDY supportLoïc Hoguin
The SPDY connection processes are also supervisors. Missing: * sendfile support * request body reading support
2013-05-25manual: Fix a typo in a typespecLoïc Hoguin
2013-05-25manual: Add a missing return type for generate_etagLoïc Hoguin
2013-05-24Update Cowboy to 0.8.50.8.5Loïc Hoguin
2013-05-24Update AUTHORSLoïc Hoguin
2013-05-24Update CHANGELOGLoïc Hoguin
2013-05-24Update ROADMAPLoïc Hoguin
2013-05-17Add Cowboy manual to READMELoïc Hoguin
2013-05-17Add the Cowboy Function ReferenceLoïc Hoguin
The manual details every stable public functions of Cowboy.
2013-05-16Use the ranch_ssl:opts() type in cowboy:start_https/4 specLoïc Hoguin
2013-05-16Use the ranch_tcp:opts() type in cowboy:start_http/4 specLoïc Hoguin
2013-05-16Use the type ranch:ref() instead of any() where applicableLoïc Hoguin
2013-05-16Update Ranch to 0.8.3Loïc Hoguin
2013-05-16Add cowboy_protocol:opts() typeLoïc Hoguin
Should improve the detection of wrong protocol options.
2013-05-16The charset iso-8859-1 is added only if not explicitely mentionedLoïc Hoguin
It was added all the time when * was missing, the RFC specifies it should only be added if it wasn't already present, though.
2013-05-16charsets_provided/2 returns a list of charsetsLoïc Hoguin
It incorrectly returned a tuple containing the charset and an associated quality which wasn't being used.
2013-05-16Move cowboy_protocol:onresponse_fun() to cowboy:onresponse_fun()Loïc Hoguin
2013-05-16Move cowboy_protocol:onrequest_fun() to cowboy:onrequest_fun()Loïc Hoguin
2013-05-16Move cowboy_http:status() to cowboy:http_status()Loïc Hoguin
2013-05-16Move cowboy_http:headers() to cowboy:http_headers()Loïc Hoguin
2013-05-16Move cowboy_http:version() to cowboy:http_version()Loïc Hoguin
2013-05-16Improve the specs for cowboy_req:init_stream/4Loïc Hoguin
2013-05-16Make the return value of AcceptResource callback consistentLoïc Hoguin
2013-05-16Make the HTTP version type more practicalLoïc Hoguin
Now instead of {1, 1} we have 'HTTP/1.1', and instead of {1, 0} we have 'HTTP/1.0'. This is more efficient, easier to read in crash logs, and clearer in the code.
2013-05-15Remove cowboy_req:fragment/1Loïc Hoguin
Clients do not send it. We skip the value if we receive it now, as it shouldn't happen, and won't for all the mainstream clients.
2013-05-15Fix the cowboy_websocket:frame/0 typeLoïc Hoguin
It accepts iodata() and not binary() for the payload.