Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 26, 2012
  1. @essen

    Optimize cowboy_protocol

    essen authored
    * #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.
Commits on Aug 27, 2012
  1. @essen

    Switch to Ranch for connection handling

    essen authored
    This is the first of many API incompatible changes.
    
    You have been warned.
Commits on Apr 13, 2012
  1. Add a clean-docs target to the Makefile

    Loïc Hoguin authored
Commits on Apr 12, 2012
  1. Use a separate rebar.config file for running tests

    Loïc Hoguin authored
Commits on Jan 31, 2012
  1. Merge branch 'autobahn-suite' of https://github.com/klaar/cowboy

    Loïc Hoguin authored
    This needs python2 to be the default python in /usr/bin/python.
  2. Pass --no_native option to dialyzer to improve dialyzing times

    Loïc Hoguin authored
    Goes from 36s to 24s on my laptop.
Commits on Jan 25, 2012
  1. Add Autobahn test suite for websockets

    Magnus Klaar authored Magnus Klaar committed
    We're using the existing test suite for websocket servers from the
    Autobahn project to verify that out websockets implementation is
    sane. A CT test suite and python module wrapping the test suite has
    been added. The test suite is run when the 'make inttests' target
    is executed.
Commits on Dec 16, 2011
  1. Remove -Wbehaviours dialyzer option unavailable in R15B

    Loïc Hoguin authored
Commits on Dec 15, 2011
  1. Skip dependencies when running ct tests

    Loïc Hoguin authored
Commits on Oct 5, 2011
  1. Skip deps when generating docs

    Loïc Hoguin authored
Commits on Jul 26, 2011
  1. Add a PropEr test for cowboy_dispatcher:split_host/1

    Loïc Hoguin authored
    Mostly thanks to Magnus Klaar as it took me a while to figure
    out how PropEr tests had to be written.
Commits on Jul 20, 2011
  1. URL decode query strings

    Loïc Hoguin authored
    Should be good for both GET and POST query strings.
    
    This adds https://github.com/klaar/quoted.erl as a dependency.
    Props to klaar for this code.
Commits on Jul 6, 2011
  1. Add documentation for the public interface.

    Loïc Hoguin authored
    This is probably not perfect yet but it should be better than
    nothing. We'll improve things with feedback received from the
    many users.
Commits on Jun 21, 2011
  1. Use dialyzer directly instead of through rebar

    Loïc Hoguin authored
    Rebar recently removed their dialyzer support options so we're switching
    to plain dialyzer. And as a bonus it works much better!
Commits on May 16, 2011
Commits on May 4, 2011
  1. Makefile: Add separate eunit and ct test rules.

    Loïc Hoguin authored
Commits on Apr 8, 2011
  1. Initial work on a ct test suite for the HTTP protocol.

    Loïc Hoguin authored
    Handles two basic tests for both HTTP and HTTPS.
    Also renames 'make test' into 'make tests'.
Commits on Apr 3, 2011
  1. Add a dialyze verb to the Makefile for convenience.

    Loïc Hoguin authored
Commits on Mar 23, 2011
  1. @ndim

    Makefile: Use a REBAR variable

    ndim authored
    Using a REBAR variable makes it easy for the user to override
    the REBAR to be called.
Commits on Mar 16, 2011
  1. Initial commit.

    Loïc Hoguin authored
Something went wrong with that request. Please try again.