Permalink
Switch branches/tags
Commits on Oct 18, 2012
  1. Fix examples in cowboy_static edoc

    essen committed Oct 18, 2012
Commits on Oct 15, 2012
  1. Merge pull request #288 from j0sh/master

    essen committed Oct 15, 2012
    Clarify docs for known_methods and allowed_methods.
Commits on Oct 13, 2012
Commits on Oct 11, 2012
  1. Allow websocket handlers to reply more than one frame

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

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

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

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

    essen committed Oct 11, 2012
    As suggested by @yrashk.
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    essen committed Sep 26, 2012
    This gives a huge boost in performance when replies are small.