Commit Graph

46 Commits

Author SHA1 Message Date
Vinnie Falco
bafce23853 Squelch spurious websocket timer assert 2019-10-09 12:00:22 -07:00
Vinnie Falco
0c7fbc74f0 Add package for Travis config 2019-08-28 16:02:31 -07:00
Damian Jarek
df0e9336bf Cleanup CI:
close #1558

- Parallelize submodule clone.
- Do a shallow submodule clone.
- Move submodule update code to a script.
- Build with BOOST_BEAST_USE_STD_STRING_VIEW on msvc

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-04-15 08:17:42 -07:00
Vinnie Falco
7d1edfc866 Trim Travis OSX cpp versions 2019-02-21 13:19:23 -08:00
Vinnie Falco
6ada618c12 Check BOOST_NO_CXX11_THREAD_LOCAL 2019-02-21 11:09:02 -08:00
Vinnie Falco
95314b7c3a Adjust Travis matrix 2019-02-20 20:17:10 -08:00
Vinnie Falco
62aa1b9717 Reorder Travis matrix items 2019-02-20 07:12:36 -08:00
Vinnie Falco
8f536f173c bjam variant names are global 2019-02-19 16:27:27 -08:00
Vinnie Falco
6af6a8da99 Travis OSX uses c++11 2019-02-18 09:27:22 -08:00
Vinnie Falco
6a658b5c3a Remove lowest_layer, add get_lowest_layer (API Change):
fix #1417

* New get_lowest_layer free function works for any object
* New lowest_layer_type trait works for any object
* New examples and documentation on layered streams

API Changes:

* The member function lowest_layer is removed from all
  types provided by the library:

Actions Required:

* Call the free function get_lowest_layer instead of
  member lowest_layer.
2019-02-01 04:31:13 -08:00
Glen Fernandes
1d5a18a0a1 Use cxxstd instead of cxxflags 2019-01-09 09:53:24 -08:00
Vinnie Falco
cf06a8dd6a Adjust CI scripts for superproject changes 2018-12-19 20:59:19 -08:00
Damian Jarek
868ca0f470 Add mp11 to CI build
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2018-11-21 12:47:38 -08:00
Damian Jarek
9816d61f38 Improve compilation of tests for continuous integration:
fix #1293

* Build ASIO's non-template entities into a static library
  to reduce the compiler's memory usage during test compilation.

* Retry as single-threaded build after the first build failure.
2018-11-20 18:07:33 -08:00
Vinnie Falco
2b461cfe75 Revert "Skip master branch on Travis OSX (fix)"
This reverts commit 8935678dc0.
2018-10-09 18:33:22 -07:00
Vinnie Falco
8935678dc0 Skip master branch on Travis OSX (fix) 2018-10-07 18:35:23 -07:00
Vinnie Falco
99d47dd24f Skip master branch on Travis OSX 2018-10-07 10:55:11 -07:00
Vinnie Falco
4e7c260403 Add g++8 to CI 2018-09-23 10:12:02 -07:00
Vinnie Falco
749e54f31b Generated WebSocket masks use a secure PRNG by default:
This resolves a medium vulnerability described in the
Beast Hybrid Assessment Report by Bishop Fox, where masks generated
for use with outgoing WebSocket client frames use an insufficient
source of entropy and a non-cryptographically secure pseudo-random
number generator.

By default, all newly constructed WebSocket streams will use a
uniquely seeded secure PRNG (ChaCha20 in counter mode). As this may
result in increased CPU resource consumption, the function
websocket::stream::secure_prng() may be used to select a faster but
less secure PRNG, for the case where the caller knows that the secure
generator is not necessary.

On some systems, std::random_device may produce insufficient entropy
to securely seed the PRNG. As this condition cannot be detected by
Beast, callers may use the function websocket::seed_prng() called
once at startup to provide at least 256 bits of entropy which will
be used to uniquely seed all subsequent PRNGs.
2018-07-08 15:20:05 -07:00
Vinnie Falco
8c5440aae1 Depend on container_hash 2017-12-30 07:11:25 -08:00
Vinnie Falco
e2b473753b Install codecov on codecov CI targets only 2017-12-04 12:04:55 -08:00
Peter Dimov
645fdb6581 Add Travis tests with the default compilers 2017-10-24 09:33:30 -07:00
Vinnie Falco
9fd7e4adee tools/ renamed from build/ 2017-08-09 18:50:04 -07:00
Vinnie Falco
8def3b1ba7 Add valgrind variant, fix false positives 2017-07-31 12:37:32 -07:00
Vinnie Falco
009d4f38ab Tidy up Travis build scripts 2017-07-31 09:07:20 -07:00
Vinnie Falco
89ac7ecca7 Tidy up Travis for code coverage 2017-07-31 09:07:20 -07:00
Vinnie Falco
a5917c9044 Don't use program_options 2017-07-26 15:18:25 -07:00
Vinnie Falco
7317bd0de9 Use custom variant 2017-07-23 17:36:12 -07:00
Vinnie Falco
7139dd639a Boost prep 2017-07-23 17:34:13 -07:00
Vinnie Falco
7abe6f6e09 Serialize in one step when possible
fix #546
2017-07-20 08:15:29 -07:00
Vinnie Falco
64ff766b23 Use string_ref in older Boost versions
fix #543
2017-07-20 08:15:29 -07:00
Vinnie Falco
44824a4166 Use boost::string_view 2017-07-20 08:15:28 -07:00
Mike Ellery
ded950a052 Control running with valgrind explicitly 2017-07-20 08:15:28 -07:00
Vinnie Falco
ccf7412eaf Remove libssl-dev from a Travis matrix item
fix #508
2017-07-20 08:15:27 -07:00
Vinnie Falco
e86ca5d66b Require Boost 1.58 or later 2017-07-20 08:12:17 -07:00
Vinnie Falco
f957af483f Require Boost 1.64.0 2017-07-20 08:12:17 -07:00
Vinnie Falco
5d3fc8fbbd Tidy up .travis.yml:
* Combine address and undefined sanitizers
* Additional targets for older gcc and 32 bit
2017-07-20 08:12:16 -07:00
Edward Hennis
6840f5840f Simplify Travis package install specification 2017-07-20 08:12:14 -07:00
Edward Hennis
c4b3453e90 Travis CI improvements:
* Update boost package URL
* Retry Travis build script
* Respect Travis's $NUM_PROCESSORS limit
* Disable sudo
* Disable autobahn tests
* Show output from the wsecho server during autobahn
2017-07-20 08:12:14 -07:00
Vinnie Falco
5089cf59ee Add zlib module:
The zlib module is a port of ZLib's raw deflate
algorithm to header-only C++11.
2017-07-20 08:12:14 -07:00
wilsonianb
a2fb4b099b Build coverage and usan Travis CI targets with CMake 2017-07-20 08:12:07 -07:00
seelabs
bc1eca81df Add cmake and clang build to travis 2017-07-20 08:12:07 -07:00
Nicholas Dudfield
4833dc3958 Travis CI updates:
* Run autobahn/valgrind tests when target branch in {master, develop}
* Add coveralls
* Show full stacktrace for usan (RIPD-1150)
* Manual launch of coverage (RIPD-1152)
* Use lldb on Darwin (RIPD-1152)
* Set defaults if not CI (RIPD-1152)
* Add autobahn result parser (RIPD-1147)
2017-07-20 08:12:07 -07:00
Nicholas Dudfield
72552363f6 Travis CI updates:
* Use clang 3.8
* Add msan/usan variants
* Build only gcc.coverage and clang.{asan,usan,msan}
* Make sure (correct) llvm-symbolizer is on PATH
2017-07-20 08:12:07 -07:00
Nicholas Dudfield
cdde9b5ef1 Travis-CI additions:
* Address sanitizer target
* Code coverage target
* Results for codecov.io
2017-07-20 08:12:05 -07:00
Vinnie Falco
9a3a42a644 Truncate history, version 1.0.0-b2 2017-07-20 08:01:46 -07:00