0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00
cowboy/test
Loïc Hoguin ce5ab4b49a
Initialize trace patterns only once
They are global for the node for all future call trace flags,
so it's not necessary to set them repeatedly with every request.

Doing it once at startup also ensures we can't have race
conditions when the user wants to change which trace patterns
should be used (because requests are concurrent and patterns
end up overwriting themselves repeatedly), and makes this
changing of trace patterns much more straightforward: the
user can just define the ones they want. The default function
traces everything.

In addition I have also added the tracer_flags option to make
the trace flags configurable, excluding the tracer pid.
2017-11-17 13:23:38 +01:00
..
handlers Add preliminary support for trailers in responses 2017-11-15 14:58:49 +01:00
http_SUITE_data Fix the remaining http_SUITE test cases 2017-07-14 19:09:42 +02:00
static_handler_SUITE_data cowboy_static: Add support for files in EZ archives 2017-01-24 11:36:58 +01:00
ws_SUITE_data Allow passing options to sub protocols 2017-02-18 18:26:20 +01:00
compress_SUITE.erl Fix a harmless warning in tests 2017-05-23 14:10:05 +02:00
cover.spec Use ct_run instead of rebar ct for running ct tests 2013-01-04 17:56:49 +01:00
cowboy_ct_hook.erl Welcome to 2017 2017-01-02 19:36:36 +01:00
cowboy_test.erl Add cowboy_tracer_h stream handler 2017-10-27 17:18:28 +01:00
examples_SUITE.erl Add test for the compress_response example 2017-02-05 17:32:03 +01:00
h2spec_SUITE.erl Add a test suite for h2spec 2017-05-23 14:05:00 +02:00
http2_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00
http_SUITE.erl Fix the remaining http_SUITE test cases 2017-07-14 19:09:42 +02:00
loop_handler_SUITE.erl Fix broken tests in loop_handler_SUITE 2017-10-31 16:49:48 +00:00
metrics_SUITE.erl Add informational responses to metrics 2017-10-31 15:04:00 +00:00
misc_SUITE.erl Don't crash when cowboy_clock is not running 2017-11-01 17:06:37 +00:00
req_SUITE.erl Add preliminary support for trailers in responses 2017-11-15 14:58:49 +01:00
rest_handler_SUITE.erl Add {switch_handler, Module} return value to cowboy_rest 2017-11-01 16:27:26 +00:00
rfc7230_SUITE.erl Rewrite the tests for header name/value limits 2017-01-03 18:07:39 +01:00
rfc7540_SUITE.erl Fix a bug in HTTP/2 where connection gets closed prematurely 2017-10-23 14:49:33 +01:00
static_handler_SUITE.erl Add some todos 2017-10-31 17:15:11 +00:00
stream_handler_SUITE.erl Fix stream_handler_SUITE test failures 2017-11-01 19:24:42 +00:00
tracer_SUITE.erl Initialize trace patterns only once 2017-11-17 13:23:38 +01:00
ws_SUITE.erl Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00