aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
AgeCommit message (Collapse)Author
2017-10-03Update version, CI and Cowlib dependency versionLoïc Hoguin
Hello 2.0.0!
2017-07-19Update rebar.configLoïc Hoguin
2017-06-07Remove NumAcceptors argument from start_clear/tlsLoïc Hoguin
They are now cowboy:start_clear/3 and cowboy:start_tls/3. The NumAcceptors argument can be specified via the num_acceptor transport option. Ranch has been updated to 1.4.0 to that effect.
2017-01-03Update rebar.config2.0.0-pre.4Loïc Hoguin
2016-11-05Partially update manual for the cowboy_reqLoïc Hoguin
Only the access functions have been modified so far.
2016-03-13Fix more HTTP/2 handshake test casesLoïc Hoguin
2015-11-16Update Erlang.mkLoïc Hoguin
2015-07-05Use HTTPS dependencies when using RebarAlexander Færøy
2015-05-06Update Cowlib to 1.3.0Juan Puig
2015-03-06Update Cowlib to 1.2.0; adds Websocket permessage-deflateLoïc Hoguin
The Websocket text frames should also be less resource intensive to validate now, with a binary concatenation avoided.
2015-02-16Use cow_ws for the Websocket parsing codeLoïc Hoguin
Updates Cowlib to 1.1.0
2014-08-02Update links extend -> nineninesLoïc Hoguin
2014-08-01Update rebar.configLoïc Hoguin
2014-06-10Update Ranch to 0.10.0Loïc Hoguin
2014-06-10Update cowlib to 0.6.2Loïc Hoguin
Fixes parsing of Google Analytics cookies.
2014-03-27Update cowlib to 0.6.1Loïc Hoguin
2014-03-25Update rebar.configLoïc Hoguin
2014-02-19Update cowlib to 0.5.1 to fix multipart issuesLoïc Hoguin
2014-02-06Add and document the new multipart codeLoïc Hoguin
The old undocumented API is removed entirely. While a documentation exists for the new API, it will not be considered set in stone until further testing has been performed, and a file upload example has been added. The new API should be a little more efficient than the old API, especially with smaller messages.
2013-11-14Update Ranch to 0.9.0Loïc Hoguin
2013-11-08Optimize query string parsingLoïc Hoguin
* Parsing code was moved to cowlib: cowboy_qs:parse_qs/1 * A function was added to build query strings: cowboy_qs:qs/1 * Also added cowboy_qs:urlencode/1 and cowboy_qsurldecode/1
2013-11-02Review, improve and document the static files handlerLoïc Hoguin
Changes include: * Much simplified route configuration. * Etag generation is now enabled by default. * Web mimetypes are now detected by default. A bigger list of mimetypes can be detected without any additional library. * Mimetypes can no longer be specified as a list. Copying this list for new connections is too costy. You can easily convert it into a function and pass that function to the handler instead. * You can however specify a single hardcoded mimetype. Mostly useful when serving a single file, like an index.html file, to avoid extra operations. * Specifying a path as a list of tokens is not possible anymore. Use either a binary or a string. * Using a private directory will not work if the application was not started properly. Cowboy will not attempt to find the location of this directory if the VM doesn't know it, as this caused issues in some setups. * Overall the code has been much simplified and clarified, and of course has now been documented.
2013-10-23Move cookie parsing/building code to cowlibLoïc Hoguin
The code for parsing has also been rewritten to be more efficient and to be able to handle cookie values with space inside them properly. Update cowlib to 0.2.0.
2013-09-04Make cowlib a proper dependencyLoïc Hoguin
Start moving a few functions from Cowboy into cowlib.
2013-08-24Update Ranch to 0.8.5Loïc Hoguin
2013-06-20Update Ranch to 0.8.4Loïc Hoguin
2013-05-16Update Ranch to 0.8.3Loïc Hoguin
2013-05-01Update Ranch to 0.8.2 and use ct_helper for testing SSLLoïc Hoguin
2013-04-12Update Ranch to 0.8.1Loïc Hoguin
2013-04-03Update Ranch to 0.8.0Loïc Hoguin
2013-03-06Update Ranch to 0.6.2Loïc Hoguin
2013-01-29Update Ranch to 0.6.1Loïc Hoguin
2013-01-05Stop using rebar in the MakefileLoïc Hoguin
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.
2012-12-26Update Ranch to 0.6.0Loïc Hoguin
2012-12-01Use Transport:sendfile/2 from RanchLoïc Hoguin
This removes a bunch of unneeded code, including code that was made for R14 which we don't support anymore. Note that the dependency on Ranch was updated, so you will need to update Ranch for the new code to work.
2012-09-26Update Ranch to latest commitLoïc Hoguin
2012-08-27Switch to Ranch for connection handlingLoïc Hoguin
This is the first of many API incompatible changes. You have been warned.
2012-04-12Use a separate rebar.config file for running testsLoïc Hoguin
2011-12-07replace quoted:from_url with cowboy_http:urldecodeMagnus Klaar
This change makes the dependency on quoted optional by adding a minimal urldecode function to cowboy. A protocol option for setting the urldecoding function has been added to the cowboy_http_protocol module. The default value for this option is set to be equivalent to the default settings for quoted. {fun cowboy_http:urldecode/2, crash} A note has been added in the README to document how to use quoted instead of this function. A field to store this option value has been added to the state record in the cowboy_http_protocol module and the http_req record in include/http.hrl Functions that previously used quoted:from_url/1 has been updated to require an equivalent function in addition to the previously required arguments. This change removes a C compiler from the build requirements of cowboy. It also removes the requirement to cross compile the code if the target arch/OS is different from the arch/OS used to build it.
2011-10-11Bump quoted to version 1.2.0Loïc Hoguin
2011-07-26Add cowboy_cookies for cookie creation and parsingTom Burdick
Based on Mochi Media, Inc.'s work in Mochiweb. Conflicts: rebar.config
2011-07-26Update quoted to 1.0.3 to fix outstanding issuesLoïc Hoguin
Magnus Klaar updated the PropEr tests and it should be fine now.
2011-07-26Add a PropEr test for cowboy_dispatcher:split_host/1Loïc Hoguin
Mostly thanks to Magnus Klaar as it took me a while to figure out how PropEr tests had to be written.
2011-07-20URL decode query stringsLoïc Hoguin
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.
2011-06-27Add the remaining missing specsLoïc Hoguin
Found thanks to warn_missing_spec and added with the help of typer. Eunit functions do not have specs yet however.
2011-06-21Use dialyzer directly instead of through rebarLoïc Hoguin
Rebar recently removed their dialyzer support options so we're switching to plain dialyzer. And as a bonus it works much better!
2011-05-16Enable code coverageAnthony Ramine
2011-04-12Don't enable binary optimization warnings by default.Loïc Hoguin
It's problematic: both doing it right and doing it wrong trigger a warning and we treat warnings as errors.
2011-03-22Add more dialyzer warnings to rebar.config.Loïc Hoguin
2011-03-21Add a rebar.config file with useful options.Loïc Hoguin