Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-11 | Do not remove duplicated Set-Cookie entries | José Valim | |
This commit closes #195, closes #199, closes #246. | |||
2012-10-11 | Allow websocket handlers to reply more than one frame | Loïc Hoguin | |
Instead of returning {text, Data}, you can now return [{text, Data}, {text, Data2}, ...]. | |||
2012-10-11 | Start crypto also in the examples and documentation | Loïc Hoguin | |
2012-10-11 | Merge branch 'dbmercer-patch-1' of git://github.com/dbmercer/cowboy.git | Loïc Hoguin | |
2012-10-11 | Modified static example to send appropriate MIME type | dbmercer | |
Modified the static example in the examples subdirectory to use the mimetypes application to determine the appropriate MIME type to send down the wire in the HTTP headers of the reply. | |||
2012-10-11 | Fix Vary header, was wrongly named Variances previously | Loïc Hoguin | |
2012-10-11 | Fix the autobahn test suite | Loïc Hoguin | |
All tests still pass! (Excluding UTF-8 of course.) | |||
2012-10-11 | Add crypto into the required applications | Loïc Hoguin | |
As suggested by @prof3ta. | |||
2012-10-11 | Cleanup cowboy_req:parse_header/3 | Loïc Hoguin | |
As suggested by @yrashk. | |||
2012-10-05 | Update ROADMAP.md | Loïc Hoguin | |
2012-10-05 | Add CONTRIBUTING.md file | Loïc Hoguin | |
2012-10-05 | Update CHANGELOG | Loïc Hoguin | |
2012-10-04 | The onresponse hook now receives 4 arguments, including the body | Loïc Hoguin | |
We do not always provide the body however. It is not available when using chunked replies, or when using set_resp_body_fun. | |||
2012-10-04 | Fix the parsing of the Connection header | Loïc Hoguin | |
2012-10-02 | Merge pull request #272 from seryl/fix_readme_relative_links | Loïc Hoguin | |
Fixing relative links | |||
2012-10-01 | Fixing relative links | Josh Toft | |
2012-10-01 | Merge pull request #271 from seryl/rest_to_readme | Loïc Hoguin | |
Add rest_hello_world link to examples README | |||
2012-10-01 | Add rest_hello_world link to examples README | Josh Toft | |
2012-10-01 | Merge pull request #269 from seryl/patch-1 | Loïc Hoguin | |
Fixing recursive examples README | |||
2012-10-01 | Make example README's more thorough | Josh Toft | |
2012-09-29 | Remove a redundant function | Loïc Hoguin | |
2012-09-29 | Merge pull request #254 from billiob/master | Loïc Hoguin | |
fix typo in doc | |||
2012-09-29 | Add max_headers option | Loïc Hoguin | |
It is only enforced when Cowboy needs to wait for more data. Also fix a few types and a few status codes. | |||
2012-09-29 | Add missing options in the cowboy_protocol documentation | Loïc Hoguin | |
2012-09-29 | Fix a small edoc issue | Loïc Hoguin | |
2012-09-29 | Remove the urldecode cowboy_protocol option | Loïc Hoguin | |
This allows inconsistent behavior and is not used enough to be supported. | |||
2012-09-29 | Add cowboy_req:get/2 and :set/2 private functions | Loïc Hoguin | |
They should not be used unless you have a very special need, which generally involves interacting with the internals of Cowboy. | |||
2012-09-27 | Update CHANGELOG | Loïc Hoguin | |
2012-09-27 | Optimize Connection header parsing | Loïc Hoguin | |
Still optimizing the critical path. Removes cowboy_http:connection_to_atom/1. | |||
2012-09-27 | Add cowboy_req:fragment/1 | Loïc Hoguin | |
Allows retrieving the request URI fragment (the #fragment part). | |||
2012-09-26 | Optimize cowboy_protocol | Loïc Hoguin | |
* #state{} changes are avoided where possible * #state{} is now smaller and use less memory * the Req object is created only after the whole request is parsed * parsing makes use of a single binary match context * external calls are avoided in the critical path * URL fragment is now extracted properly (retrieval API next commit) * argument orders to local functions modified to avoid extra operations * dispatching waits as long as possible before tokenizing host/path * handler opts are no longer shown in the error messages except in init The code may not look as beautiful as it was before. But it really is, for parsing code. The parsing section of the file may be skipped if your eyes start to burn. | |||
2012-09-26 | Use a single Transport:send/2 call to send the reply if possible | Loïc Hoguin | |
This gives a huge boost in performance when replies are small. | |||
2012-09-26 | Update Ranch to latest commit | Loïc Hoguin | |
2012-09-24 | Remove a '++' use when replying | Loïc Hoguin | |
2012-09-24 | Removal of binary:split from cowboy_dispatcher and small optimizations | Loïc Hoguin | |
The internal host_tokens value now has host tokens in reverse order compared to before. This allows us to remove one lists:reverse call. | |||
2012-09-24 | Use binary:match/2 instead of binary:split/2 in cowboy_dispatcher | Loïc Hoguin | |
Didn't replace everything, just the ones that didn't use the global option. Also removed a couple now useless code paths. | |||
2012-09-23 | Extract the buffer out of the #state{} in cowboy_protocol | Loïc Hoguin | |
This reduces the number of operations done each time the buffer changes. | |||
2012-09-23 | Use binary:match/2 instead of binary:split/2 in cowboy_http | Loïc Hoguin | |
Also fix a bug introduced in a previous commit. | |||
2012-09-23 | Improve state reset between requests | Loïc Hoguin | |
2012-09-23 | Use binary:match/2 instead of binary:split/2 | Loïc Hoguin | |
The former is a BIF while the latter is not. | |||
2012-09-21 | Update CHANGELOG | Loïc Hoguin | |
2012-09-21 | Make multipart part headers binary lowercase | Loïc Hoguin | |
Here we do not remove decode_packet yet, we just lowercase the header name and transform it into a binary if needed, to fix the consistency issue. | |||
2012-09-21 | Don't use decode_packet/3 for parsing the headers | Loïc Hoguin | |
Header names are now binaries. Since header names are case insensitive they are all converted to lowercase. For example: <<"content-length">>. The max_line_length option was removed. Three new options have been added instead: * max_request_line_length (defaults to 4096) * max_header_name_length (defaults to 64) * max_header_value_length (defaults to 4096) | |||
2012-09-21 | Don't use decode_packet/3 for parsing the request-line | Loïc Hoguin | |
First step in making all methods and header names binaries to get rid of many inconsistencies caused by decode_packet/3. Methods are all binary now. Note that since they are case sensitive, the usual methods become <<"GET">>, <<"POST">> and so on. | |||
2012-09-17 | fix typo in doc | Boris Faure | |
2012-09-17 | Update CHANGELOG | Loïc Hoguin | |
2012-09-17 | Add types for onrequest and onresponse funs | Loïc Hoguin | |
2012-09-17 | Replace many proplists:get_value/{2,3} calls by BIFs | Loïc Hoguin | |
Originally suggested by Roberto Ostinelli. | |||
2012-09-17 | Rename cowboy_req:raw_qs/1 to cowboy_req:qs/1 | Loïc Hoguin | |
2012-09-17 | Include the eunit file only if TEST is defined | Loïc Hoguin | |