Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 6, 2013
  1. @essen
Commits on Jan 29, 2013
  1. @essen

    Makefile verbosity tweaks

    essen authored
  2. @essen
Commits on Jan 17, 2013
  1. @essen

    Add recursive dependency fetching to the Makefile

    essen authored
    Also small other changes like how we build the PLT.
Commits on Jan 10, 2013
  1. @essen

    Update autobahntestsuite to 0.5.2

    essen authored
    Also small mostly insignificant changes to tests.
Commits on Jan 7, 2013
  1. @essen

    Add optional automatic response body compression

    essen authored
    This behavior can be enabled with the `compress` protocol option.
    See the `compress_response` example for more details.
    All tests are now ran with and without compression for both HTTP
    and HTTPS.
Commits on Jan 5, 2013
  1. @essen

    Stop using rebar in the Makefile

    essen authored
    First and foremost: yes, you can still use Cowboy as a rebar dependency.
    This commit only removes the use of rebar when *developing* Cowboy, not
    when *using* Cowboy.
    Over the past two years I went from very happy with rebar to unsatisfied
    and most recently found it counter productive in many ways, from having
    insane default configuration to various unefficient operations. The earlier
    reversal from 'rebar ct' to 'ct_run' made my workflow much more natural,
    as I always needed to look at 'logs/raw.log' to find out what was wrong,
    anyway. Why not let 'ct_run' output it directly instead? Removing rebar
    made my life easier.
    If you wonder why I don't patch rebar, there's two reasons. First is that
    the direction taken by rebar isn't compatible with my views, and this
    would be a huge fight to steer it in another direction. I got other,
    more important fights to make. Second is that I'd rather patch OTP so
    that everyone benefits from it, not just users of rebar.
    Anyway this isn't my personal blog so I will stop babbling here. There's
    a few important things to note relative to this commit:
     *  You don't need rebar to work on Cowboy anymore
     *  The eunit tests are now ran through common_test
    Ping me if it doesn't work out for you.
Commits on Jan 4, 2013
  1. @essen
  2. @essen

    Use ct_run instead of rebar ct for running ct tests

    essen authored
    Small tweak to the autobahn test file, we look for the python2
    executable now. It'll make my life easier.
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

    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 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.