Commit Graph
1035 Commits
Author SHA1 Message Date
Vinnie Falco eba05a76e7 Set version to 1.0.0-b31 2017-03-21 15:52:01 -04:00
Vinnie Falco 484bcef9d7 Fix badge markdown in README.md 2017-03-21 15:50:35 -04:00
Florian Behrens 5663bea6cd Add missing dynabuf_readstream member
fix #277
2017-03-16 07:29:39 -04:00
Vinnie Falco 0d7a551b25 Tidy up build settings 2017-03-16 07:29:39 -04:00
Vinnie Falco 0fd4030738 Move the handler, don't copy it 2017-03-16 07:29:34 -04:00
Vinnie Falco 1b9a714833 Set version to 1.0.0-b30 2017-02-27 11:55:19 -05:00
Vinnie Falco faed9e57f2 Allow concurrent websocket async ping and writes:
fix #271

This modifies the websocket stream implementation's composed
operations to allow caller-initiated asynchronous pings and
frame/message writes to take place at the same time.
2017-02-27 10:50:32 -05:00
Vinnie Falco 31cda067fa Fix race when write suspends 2017-02-27 10:50:29 -05:00
Vinnie Falco 48dd38eb55 Fix race in close frames during reads 2017-02-27 10:45:05 -05:00
Vinnie Falco e2d1bb062b Fix race in pings during reads 2017-02-27 10:39:53 -05:00
Vinnie Falco 36143be195 Set version to 1.0.0-b29 2017-02-24 13:25:05 -05:00
Florian Behrens f0399b68c0 Fix doc link typo 2017-02-24 13:24:54 -05:00
Nik Bougalis 787b7c2158 Check ostream modifier correctly 2017-02-24 13:24:54 -05:00
Steve Brain 4fa0bf645b Fix Writer return value documentation 2017-02-24 13:24:49 -05:00
Vinnie Falco 6406da06b9 Document type-pun in buffer_cat 2017-02-24 13:24:30 -05:00
Vinnie Falco 66cdb378f2 Fix illegal HTTP characters accepted as hex zero 2017-02-24 13:24:30 -05:00
Vinnie Falco e64ca2fa33 Fix Body requirements doc 2017-02-22 18:15:48 -05:00
Vinnie Falco 6dfd9f9fe8 Fix compilation error in non-template class
fix #267
2017-02-22 18:15:48 -05:00
Vinnie Falco fa7fea8f02 Fix race in writes during reads:
fix #261

This fixes a rare condition when responding to a ping or
close frame where the wr_block_ stream variable is not
correctly set for a short window of time.
2017-02-22 18:15:43 -05:00
Vinnie Falco 9f10b11eff Set version to 1.0.0-b28 2017-02-07 19:59:14 -05:00
Vinnie Falco 195f974872 Fix HTTP split parse edge case:
fix #257

This fixes a problem when doing split parsing (header then body).
The problem arises when the first buffer passed to the header
parser contains exactly the full header and nothing more. The
symptom is that when parsing the body, the parse will erroneously
be considered complete.
2017-02-07 19:59:04 -05:00
Vinnie Falco 264fd41342 Restyle async result constructions 2017-02-07 19:59:03 -05:00
Vinnie Falco 572a0eb490 Split out and rename test stream classes 2017-02-07 19:59:03 -05:00
Vinnie Falco 95b6646167 Tidy up some WebSocket javadocs 2017-02-07 19:59:03 -05:00
Vinnie Falco f6938d3760 Set version to 1.0.0-b27 2017-02-07 15:20:34 -05:00
Vinnie Falco a6120cd8be Update copyright dates 2017-02-07 15:20:25 -05:00
wilsonianb c7bfe7df4a Add documentation building instructions 2017-02-07 15:18:42 -05:00
Vinnie Falco f6c91ce9f5 Tidy up tests and docs:
* Add handler_ptr test and increase coverage
* Add test for prepare_buffer
* Move is_call_possible tests to a .cpp file
* Tidy up docs and declarations
2017-02-06 11:34:29 -05:00
Vinnie Falco f03985f3e8 Move basic_streambuf to streambuf.hpp (API Change):
* Also change allocator element type to char
2017-02-06 11:34:29 -05:00
Vinnie Falco b8639a791a Invoke callback on pings and pongs (API Change):
fix #248

This additionally invokes the pong callback for received pings, allowing
callers to more efficiently detect when a connection is still lively:

* pong_callback renamed to ping_callback
* Callback signature has an extra `bool` to indicate if the received
  control frame is a ping or pong.
2017-02-05 18:45:22 -05:00
Vinnie Falco 06f74f05f7 Set version to 1.0.0-b26 2017-02-02 09:04:25 -05:00
Vinnie Falco 68f535f357 Tidy up warnings and tests:
* Enable WebSocket frame tests
* Remove read_message_max warning
* Remove permessage-deflate check offer warning
2017-02-02 08:57:17 -05:00
Vinnie Falco 4ee5fa903e Set version to 1.0.0-b25 2017-02-01 20:05:40 -05:00
Vinnie Falco 229d3909a8 Update README.md for CppCast 2017 2017-02-01 20:05:40 -05:00
Vinnie Falco c3e3a55bd2 Fix deflate setup bug 2017-02-01 20:05:39 -05:00
Vinnie Falco 439a224e1d WebSocket server examples and test tidying:
fix #238, fix #165

* Tidy up WebSocket echo servers
* Add WebSocket echo servers to examples
2017-02-01 20:05:39 -05:00
Vinnie Falco 29565c8bd7 Remove unnecessary include
fix #242
2017-02-01 20:05:39 -05:00
Vinnie Falco caa3b39ec2 Fix 32-bit arm7 warnings
fix #232
2017-02-01 20:05:38 -05:00
Vinnie Falco 0474cc5df2 Better handler_ptr (API Change):
fix #242

* Add public constructors
* Add handler_ptr::empty()
* Add handler_ptr::element_type
* Remove make_handler_ptr free function
* Compiler error if element_type is an array type
* handler_ptr::get() returns nullptr if no object is owned
2017-02-01 20:05:38 -05:00
Vinnie Falco ca38657aab Fixes for websocket echo server:
* Decorator members are const
* Enable permessage-deflate extension
2017-01-27 20:15:31 -05:00
Vinnie Falco 797631c698 Set version to 1.0.0-b24 2017-01-27 19:48:03 -05:00
Vinnie Falco a4509684cc Add permessage-deflate WebSocket extension:
This implements the permessage-deflate WebSocket
extension as described in HyBi Working Group
draft-ietf-hybi-permessage-compression-28:
https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-28

This extension allows messages to be compressed using
the raw "deflate" algorithm described in RFC 1951,
"DEFLATE Compressed Data Format Specification version 1.3":
https://www.ietf.org/rfc/rfc1951.txt
2017-01-27 19:46:49 -05:00
Vinnie Falco 67e965e440 Make decorator copyable 2017-01-25 09:51:44 -05:00
Vinnie Falco 42899fc317 Add optional yield_to arguments 2017-01-25 09:51:31 -05:00
Edward Hennis 61aef03703 Simplify Travis package install specification 2017-01-25 09:51:18 -05:00
Miguel Portilla 9d0d7c990d bjam use clang on MACOSX 2017-01-25 09:51:04 -05:00
Edward Hennis c00cd37b8a Set version to 1.0.0-b23 2017-01-17 14:46:11 -05:00
Edward Hennis f662e36fc8 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-01-17 14:45:40 -05:00
Vinnie Falco b05fa33402 Fix message constructor and special members
fix #196
2017-01-17 14:45:38 -05:00
Vinnie Falco b4722cc27d Add copy special members 2017-01-17 14:44:22 -05:00