Commit Graph

21 Commits

Author SHA1 Message Date
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
f1947ea8ba Update appveyor matrix 2019-03-03 10:49:06 -08:00
Vinnie Falco
ca783225da Appveyor uses msvc-14.0 2019-03-02 10:51:56 -08:00
Vinnie Falco
73c7f3ea3e Visual Studio 2017 minimum requirement for Windows 2019-02-22 18:46:09 -08:00
Damian Jarek
ff32f44682 Get openssl in appveyor
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-01-31 16:40:21 -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
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
da8bc6594d Only set /permissive- on Appveyor 2017-08-09 17:18:07 -07:00
Vinnie Falco
90cba35f38 Fix Appveyor script 2017-07-28 17:07:25 -07:00
Vinnie Falco
a5917c9044 Don't use program_options 2017-07-26 15:18:25 -07:00
Vinnie Falco
175763e773 Update appveyor for Boost branch 2017-07-25 15:58:06 -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
1c96e1604c Use Boost master on Appveyor 2017-07-20 08:15:29 -07:00
Vinnie Falco
44824a4166 Use boost::string_view 2017-07-20 08:15:28 -07:00
Vinnie Falco
510092d34b Reorganize examples:
* The examples/ directory is renamed to example/

* Each program is in its own directory with its own build scripts
2017-07-20 08:15:26 -07:00
Vinnie Falco
44995bf071 Documentation work 2017-07-20 08:12:19 -07:00
Vinnie Falco
4799fc15a1 Trim Appveyor matrix rows 2017-07-20 08:12:16 -07:00
Vinnie Falco
75b8e30a15 Add appveyor build script
Fix #75
2017-07-20 08:12:15 -07:00