Vinnie Falco
3a5f2effc1
Set version to 160
2018-02-27 08:12:58 -08:00
Vinnie Falco
04ced3b954
Examples clear the HTTP message before reading
...
fix #1043
2018-02-27 08:12:54 -08:00
Vinnie Falco
d6c11a824a
Set version to 159
2018-02-26 17:09:52 -08:00
Vinnie Falco
5d5e58c5b4
Some basic_fields operations now give the strong exception guarantee
2018-02-26 17:09:47 -08:00
Vinnie Falco
9f094518bc
Safe treatment of zero-length string arguments in basic_fields:
...
This fixes a broken memcpy precondition when empty strings are
passed as arguments to basic_fields member functions.
2018-02-26 17:09:20 -08:00
Vinnie Falco
a8a5fa9f6c
Fix typo in release notes
2018-02-26 17:09:01 -08:00
Vinnie Falco
fc187257c3
Set version to 158
2018-02-21 14:59:02 -08:00
Vinnie Falco
eae74b1c89
get_lowest_layer is a type alias:
...
fix #941 , fix #1016
`get_lowest_layer` is now a type alias for the
lowest layer instead of a struct with a nested type.
Actions required:
* Replace instances of `typename get_lowest_layer<T>::type`
with `get_lowest_layer<T>`.
2018-02-21 14:49:44 -08:00
Vinnie Falco
66f0814cfd
Tidy up some documentation
...
fix #984
2018-02-21 13:58:43 -08:00
Vinnie Falco
d79950d95c
DynamicBuffer input areas are not mutable
...
fix #1014
2018-02-21 13:19:14 -08:00
Vinnie Falco
10ce0283c2
Advanced servers support clean shutdown via SIGINT or SIGTERM
...
fix #1026
2018-02-21 12:44:11 -08:00
Vinnie Falco
a4714746dc
Examples set reuse_address(true)
...
fix #1027
2018-02-21 12:35:07 -08:00
Vinnie Falco
490b9ce893
Tidy up websocket docs
...
fix #1035
2018-02-21 12:10:26 -08:00
Vinnie Falco
8dcc6162c1
Tidy up end_of_stream javadoc
...
fix #1023
2018-02-21 08:45:08 -08:00
Vinnie Falco
48a974530c
Set version to 157
2018-02-21 06:35:37 -08:00
Vinnie Falco
c505e32210
Fix big-endian websocket masking
...
fix #1030
2018-02-21 06:35:32 -08:00
Vinnie Falco
593ccb15cd
Fix teardown for TIME_WAIT
...
fix #1024 , fix #1029
2018-02-20 04:33:43 -08:00
Vinnie Falco
de8d0b6843
Set version to 156
2018-02-19 18:37:03 -08:00
Vinnie Falco
1b56105350
Update docca subtree:
...
Merge commit 'ad4d852e7bcf2edea0ef211f4a4fcb67a2c0795f' into v156
2018-02-19 18:36:44 -08:00
Vinnie Falco
ad4d852e7b
Squashed 'doc/docca/' changes from 413b9123..1bfc5ede
...
1bfc5ede Use void-or-deduced qbk macro
324a50da Add config-template
git-subtree-dir: doc/docca
git-subtree-split: 1bfc5ede5ef76fa3265191ed241e43e9ed50063d
2018-02-19 18:36:44 -08:00
Vinnie Falco
b249d6f868
Fix stale link for void-or-deduced
2018-02-19 18:36:31 -08:00
Vinnie Falco
b68db30ba6
Add release notes to documentation
2018-02-19 18:36:31 -08:00
Vinnie Falco
a4eb96fcb9
Don't use typeid
2018-02-19 18:36:30 -08:00
Vinnie Falco
1a88cb147b
Set version to 155
2018-02-16 10:51:33 -08:00
Vinnie Falco
534ba34e7e
Tidy up bind_handler doc
2018-02-16 10:51:28 -08:00
Benjamin Roland Buch
b7750de15f
Fix fallthrough warnings
...
fix #1019
2018-02-16 10:51:28 -08:00
Vinnie Falco
ab32400d00
Fix soft-mutex assert in websocket stream:
...
Fix #1000
This resolves the assert 'ws_.wr_block_ == tok_'.
2018-02-16 10:51:28 -08:00
Benjamin Roland Buch
9f3c981d6a
Fix memory leak in advanced server examples
2018-02-14 21:24:59 -08:00
Vinnie Falco
cbcc034a70
Set version to 154
2018-02-14 19:17:33 -08:00
Vinnie Falco
c9bbf7bdbc
bind_handler works with boost placeholders
2018-01-26 10:12:40 -08:00
Vinnie Falco
2f03cc7895
Tidy up bind_handler doc
...
fix #985
2018-01-26 10:12:15 -08:00
Vinnie Falco
d855bdefd8
Type check completion handlers
...
fix #988
2018-01-26 08:58:19 -08:00
Vinnie Falco
908f84cb3c
Set version to 153
2018-01-25 06:02:48 -08:00
Vinnie Falco
38e580e49d
Add Bishop Fox interview media
2018-01-25 06:02:43 -08:00
Vinnie Falco
72cf7db931
Fix use-after-move in example request handlers
...
fix #992
2018-01-25 06:02:43 -08:00
Peter Jankuliak
4fb535ece6
Fix iterator version of basic_fields::erase
...
fix #994
2018-01-25 06:02:43 -08:00
Vinnie Falco
ad42096a9d
Avoid string_view::clear:
...
String views are cleared using assignment from
braced initializion, to avoid calling clear().
2018-01-25 06:02:42 -08:00
Vinnie Falco
2b32de6cba
Update README.md for branches
...
fix #974
2018-01-25 06:02:42 -08:00
Paul "TBBle" Hampson
0efc246466
Use boost::winapi::GetLastError() consistently:
...
This replaces a few direct calls to ::GetLastError, and also removes a
couple of duplicate calls when the value was already held locally.
2018-01-12 12:30:39 -08:00
Paul "TBBle" Hampson
035248cefb
Use make_error_code for setting an error_code from errc:
...
In Boost.System, `boost::system::errc` is a namespace
containing ints. In C++11, std::errc is an enum marked
as an `error_condition`.
`error_code::assign` is specified as taking an int only,
while make_error_code is able to deal correctly with both forms.
2018-01-12 12:30:39 -08:00
Vinnie Falco
3546eff033
Remove BOOST_VERSION checks
...
fix #722
2018-01-12 12:30:39 -08:00
Vinnie Falco
be14786550
Set version to 152
2018-01-12 11:54:37 -08:00
Vinnie Falco
24358f784a
Disable gdb on Travis for Meltdown
2018-01-12 11:54:29 -08:00
Vinnie Falco
cc43b46c42
Refactor WebSocket errors (API Change):
...
fix #949
* New error codes are introduced for WebSocket failures
* More verbose messages for error codes
* Error codes are mapped to conditions for ease of testing
* error::failed and error::handshake_failed are deprecated (don't use)
Actions Required:
* Code which explicitly compares error_code values against the
constant `websocket::error::handshake_failed` should compare
against `websocket::condition::handshake_failed` instead.
* Code which explicitly compares error_code values against the
constant `websocket::error::failed` should compare
against `websocket::condition::protocol_violation` instead.
2018-01-12 07:35:26 -08:00
Vinnie Falco
08a9ed4c25
Add WebSocket error conditions:
...
This introduces the condition enumeration type for grouping
websocket error codes together as a convenience to callers.
2018-01-01 13:38:55 -08:00
Vinnie Falco
b86169019e
Refactor error headers:
...
The WebSocket error header file declarations are
reorganized to make it easier to move function
definitions into their own translation unit.
2018-01-01 12:17:02 -08:00
Vinnie Falco
45798e0a6e
Refactor detect_ssl_op:
...
fix #955
The asynchronous SSL detector uses a stackless coroutine.
2017-12-31 10:50:26 -08:00
Vinnie Falco
d7664fa140
Redistribute the read tests in the translation units
2017-12-31 10:28:42 -08:00
Vinnie Falco
6f08814a0c
Set version to 151
2017-12-30 13:23:45 -08:00
Vinnie Falco
841ab8474b
permessage-deflate is a compile-time feature (API Change):
...
fix #849
This adds an additional `bool` template parameter to
`websocket::stream`:
* When deflateSupported is `true`, the stream will be capable
of negotiating the permessage-deflate websocket extension per
the configured run-time settings.
* When deflateSupported is `false`, the stream will never negotiate
the permessage-deflate websocket extension. Furthermore, all of the
code necessary for implementing the permessage-deflate extension
will be excluded from function instantiations. The resulting emitted
object code should be smaller.
2017-12-30 13:23:41 -08:00