aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-01-22Add experimental cowboy_compress_h stream handlerLoïc Hoguin
Currently marked as experimental because it can't be tweaked (just enabled/disabled) and because it is not documented yet.
2017-01-20Fix error responses not including a content-lengthLoïc Hoguin
This would prevent the client from knowing whether the request was received fully without the connection closing first.
2017-01-20Fix protocol breaking when user tries to send empty chunkLoïc Hoguin
The {data, IsFin, Data} uses IsFin to indicate whether this is the last chunk, while chunked transfer-encoding uses the length of Data, and ends when it is 0. We must therefore not send chunks with empty data.
2017-01-16Add support for multiple stream handlersLoïc Hoguin
The stream handlers can be specified using the protocol option 'stream_handlers'. It defaults to [cowboy_stream_h]. The cowboy_stream_h module currently does not forward the calls to further stream handlers. It feels like an edge case; usually we'd want to put our own handlers between the protocol code and the request process. I am therefore going to focus on other things for now. The various types and specifications for stream handlers have been updated and the cowboy_stream module can now be safely used as a behavior. The interface might change a little more, though. This commit does not include tests or documentation. They will follow separately.
2017-01-04Make the new cowboy_req tests more realistic2.0.0-pre.5Loïc Hoguin
2017-01-04Improve the manual for the new resp_header functionsLoïc Hoguin
2017-01-04Add functions for getting and setting response headersJohan Lövdahl
2017-01-03Rewrite the tests for header name/value limitsLoïc Hoguin
Putting them in the correct test suite, with the proper documentation etc.
2017-01-03Return status 431 if the request header field is too largeJosé Valim
This commit changes Cowboy to follow RFC6585.
2017-01-03Update rebar.config2.0.0-pre.4Loïc Hoguin
2017-01-02Remove ROADMAP fileLoïc Hoguin
The only ROADMAP now is small fixes toward making it stable and very little interface changes, so the file is not that useful anymore.
2017-01-02Welcome to 2017Loïc Hoguin
2017-01-02Update Erlang.mkLoïc Hoguin
2017-01-02Update READMELoïc Hoguin
2017-01-02Remove AUTHORS fileLoïc Hoguin
Information can be found in cgit.
2017-01-02Remaining Dialyzer fixesLoïc Hoguin
2017-01-02Update Ranch to 1.3.0Loïc Hoguin
2017-01-02Numerous Dialyzer fixesLoïc Hoguin
2017-01-02Add a few more test cases for cowboy_req:match_qsLoïc Hoguin
2017-01-02Various fixes and tweaks to the user guideLoïc Hoguin
2016-12-28Add templates as Erlang.mk pluginLoïc Hoguin
2016-12-28Update the cowboy_rest manualLoïc Hoguin
2016-12-23Leave a few manual pages for post 2.0.0-pre.4Loïc Hoguin
In particular the cowboy_sub_protocol is subject to change soon. Also the cowboy_stream behavior is going to be left hidden in this release and enabled when it becomes easier to chain them.
2016-12-23Update cowboy_middlewareLoïc Hoguin
2016-12-23Update cowboy_loop manualLoïc Hoguin
2016-12-23Update the cowboy_handler manualLoïc Hoguin
Also fixes a small mistake in cowboy_websocket.
2016-12-23Update the cowboy_static manualLoïc Hoguin
2016-12-22Updates cowboy_http documents changelogSasan Hezarkhani
The changelog had a wrong reference to an option that was updated. `max_header_request_line_length` -> `max_request_line_length`
2016-12-22Update cowboy_websocket_manualLoïc Hoguin
2016-12-22Add the manual for cowboy_http2Loïc Hoguin
2016-12-22Add cowboy_http manualLoïc Hoguin
Updates and replaces the cowboy_protocol manual.
2016-12-22Update the cowboy_router manualLoïc Hoguin
2016-12-21Update CI release listLoïc Hoguin
2016-12-21Add man pages for the reply functionsLoïc Hoguin
2016-12-02Update Erlang.mkLoïc Hoguin
2016-12-02Add the man pages for body reading functionsLoïc Hoguin
[ci skip]
2016-11-07Add man pages for the parse/match/binding cowboy_req functionsLoïc Hoguin
2016-11-07Small tweak to AsciidocLoïc Hoguin
Fixes Hugo rendering.
2016-11-07Add man pages for parse_qs, match_qs and parse_headerLoïc Hoguin
[ci skip]
2016-11-05Tweak small things in the cowboy manualLoïc Hoguin
2016-11-05Add HiPE and ErLLVM testingLoïc Hoguin
2016-11-05Partially update manual for the cowboy_reqLoïc Hoguin
Only the access functions have been modified so far.
2016-10-18Erlang/OTP 19.1.5Loïc Hoguin
2016-10-18Fix if_modified_since match of last_modifiedChristopher Adams
Correct expected return type from `no_call` to `undefined` in if_modified_since when last_modified callback is not defined. Add an http_SUITE test to catch regressions.
2016-10-14Erlang/OTP 19.1.4Loïc Hoguin
2016-10-10Update CI targetsLoïc Hoguin
2016-10-01Small tweaks to cowboy module manualLoïc Hoguin
2016-10-01Remove circle.ymlLoïc Hoguin
2016-09-30Update README and convert to AsciidocLoïc Hoguin
2016-09-29Tweak the one-liner description of the projectLoïc Hoguin