Permalink
Commits on Oct 11, 2012
  1. Allow websocket handlers to reply more than one frame

    Instead of returning {text, Data}, you can now return
    [{text, Data}, {text, Data2}, ...].
    essen committed Oct 11, 2012
  2. Modified static example to send appropriate MIME type

    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.
    dbmercer committed with essen Oct 8, 2012
  3. Fix the autobahn test suite

    All tests still pass! (Excluding UTF-8 of course.)
    essen committed Oct 11, 2012
  4. Add crypto into the required applications

    As suggested by @prof3ta.
    essen committed Oct 11, 2012
  5. Cleanup cowboy_req:parse_header/3

    As suggested by @yrashk.
    essen committed Oct 11, 2012
Commits on Oct 4, 2012
  1. Update ROADMAP.md

    essen committed Oct 4, 2012
  2. Add CONTRIBUTING.md file

    essen committed Oct 4, 2012
  3. Update CHANGELOG

    essen committed Oct 4, 2012
  4. The onresponse hook now receives 4 arguments, including the body

    We do not always provide the body however. It is not available
    when using chunked replies, or when using set_resp_body_fun.
    essen committed Oct 4, 2012
Commits on Oct 3, 2012
  1. Merge pull request #272 from seryl/fix_readme_relative_links

    Fixing relative links
    essen committed Oct 3, 2012
Commits on Oct 1, 2012
  1. Fixing relative links

    seryl committed Oct 1, 2012
  2. Merge pull request #271 from seryl/rest_to_readme

    Add rest_hello_world link to examples README
    essen committed Oct 1, 2012
  3. Merge pull request #269 from seryl/patch-1

    Fixing recursive examples README
    essen committed Oct 1, 2012
Commits on Sep 29, 2012
  1. Remove a redundant function

    essen committed Sep 29, 2012
  2. Merge pull request #254 from billiob/master

    fix typo in doc
    essen committed Sep 29, 2012
  3. Add max_headers option

    It is only enforced when Cowboy needs to wait for more data.
    
    Also fix a few types and a few status codes.
    essen committed Sep 29, 2012
  4. Fix a small edoc issue

    essen committed Sep 29, 2012
  5. Remove the urldecode cowboy_protocol option

    This allows inconsistent behavior and is not used enough to be supported.
    essen committed Sep 29, 2012
  6. Add cowboy_req:get/2 and :set/2 private functions

    They should not be used unless you have a very special need,
    which generally involves interacting with the internals of Cowboy.
    essen committed Sep 29, 2012
Commits on Sep 27, 2012
  1. Update CHANGELOG

    essen committed Sep 27, 2012
Commits on Sep 26, 2012
  1. Optimize Connection header parsing

    Still optimizing the critical path.
    
    Removes cowboy_http:connection_to_atom/1.
    essen committed Sep 26, 2012
  2. Add cowboy_req:fragment/1

    Allows retrieving the request URI fragment (the #fragment part).
    essen committed Sep 26, 2012
  3. Optimize cowboy_protocol

    * #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.
    essen committed Sep 26, 2012
  4. Use a single Transport:send/2 call to send the reply if possible

    This gives a huge boost in performance when replies are small.
    essen committed Sep 26, 2012
  5. Update Ranch to latest commit

    essen committed Sep 25, 2012
Commits on Sep 24, 2012
  1. Remove a '++' use when replying

    essen committed Sep 24, 2012
  2. Removal of binary:split from cowboy_dispatcher and small optimizations

    The internal host_tokens value now has host tokens in reverse order
    compared to before. This allows us to remove one lists:reverse call.
    essen committed Sep 24, 2012
Commits on Sep 23, 2012
  1. Use binary:match/2 instead of binary:split/2 in cowboy_dispatcher

    Didn't replace everything, just the ones that didn't use the
    global option. Also removed a couple now useless code paths.
    essen committed Sep 23, 2012