Peter Thorson
77e2e2fabb
fix minor errors in debug transport
2014-12-13 05:55:31 -05:00
Peter Thorson
ef393f8aef
Overhaul error handling for failed WebSocket and HTTP connections
2014-12-12 18:31:21 -05:00
Peter Thorson
99f4a66221
Add processor error code for short hybi00 key3 reads
2014-12-12 18:08:05 -05:00
Peter Thorson
768472c0d4
get_websocket_version now checks if request is complete
...
an incomplete request otherwise would produce a spurious zero value
2014-12-12 18:07:32 -05:00
Peter Thorson
1f061a920e
Changelog update
2014-12-12 06:59:53 -05:00
Peter Thorson
07543a5dde
disable debugging output from tests
2014-12-11 10:29:41 -05:00
Peter Thorson
ff9af5f8ca
update gitignore to not ignore new debug code
2014-12-11 10:12:10 -05:00
Peter Thorson
ffedb97372
move debug transport to non-relative path location
2014-12-11 10:09:28 -05:00
Peter Thorson
e1f1c8873b
Major overhaul to handshake internal state machine error checking references #389 #361
...
This overhaul removes the use of exceptions in handling state errors
during handshake processing. All such errors are demoted to
rerror/recoverable error and will terminate the connection only rather
than the whole application. In addition, there are some cases where we
expect to see a state error due to non-deterministic interleaving of
timeout handlers and read/write handlers. In these expected cases state
errors are ignored entirely.
2014-12-11 09:52:03 -05:00
Peter Thorson
922f1c35bc
add testing system for timer/handshake handler interleaving
...
This interleaving is non-deterministic and pre-0.5 can result in state
errors when timer handers race with read/write handlers. These tests
explicitly and deterministically check all common interleaving for both
clients and servers.
2014-12-11 09:43:01 -05:00
Peter Thorson
3c6c757d93
debug client/server updates
2014-12-10 21:33:59 -05:00
Peter Thorson
71f88c71d6
better C++11 detection
2014-12-10 21:33:04 -05:00
Peter Thorson
987f20feda
typos and fixes for stub config and minimal config
2014-12-10 21:28:18 -05:00
Peter Thorson
27cea4e58f
don't set non-existent handler!
2014-12-08 19:35:47 -05:00
Peter Thorson
e7b2e69ecb
remove unneeded code
2014-12-08 19:26:24 -05:00
Peter Thorson
bc868a244d
queue for retest
2014-12-08 19:24:10 -05:00
Peter Thorson
77f1bf593d
Adds telemetry_server example
2014-12-08 18:56:44 -05:00
Peter Thorson
0a47a9a78c
adjust example exception behavior to match latest spec
2014-12-08 18:56:28 -05:00
Peter Thorson
6578c5852e
Add Hybi proposed generic subprotocol errors
2014-12-05 21:02:33 -05:00
Peter Thorson
f9ff42c4b0
update boundaries checking code to be slightly tigher
2014-12-05 21:02:33 -05:00
Peter Thorson
b9d4187e38
logger documentation
2014-12-05 10:19:31 -05:00
Peter Thorson
cbe887524e
Documentation and code style for syslog logger references #386
2014-12-05 10:10:44 -05:00
Peter Thorson
8a9b0beec0
Merge pull request #386 from airtimemedia/syslog
...
Add syslog logger support.
2014-12-05 09:20:41 -05:00
Peter Thorson
18994f7318
Add write_handler to iostream as an ostream replacement
2014-12-04 09:12:57 -05:00
Peter Thorson
3f65b2ff98
changelog update
2014-12-04 08:19:16 -05:00
Peter Thorson
0ad2da2083
updates to debug server to help test HTTP request body issues
2014-12-04 08:16:32 -05:00
Peter Thorson
7404b506db
Add shutdown handler to iostream transport references #388
2014-12-04 08:15:57 -05:00
Tom Hughes
b0efc72848
Remove virtual methods from syslog implementation.
2014-12-02 10:06:28 -08:00
Tom Hughes
beac6e5bb6
Add syslog logger support.
2014-11-26 14:14:09 -08:00
Peter Thorson
f6c6552622
Access to HTTP request bodies references #181
...
Use connection::get_request_body() to access. Use
endpoint::set_max_http_body_size(size_t value) to control maximum
upload size. Initial support is for single chunk bodies that define a
content-length . Transfer-Encoding: chunked is not currently supported
2014-11-18 22:05:46 -05:00
Peter Thorson
12700f2bc2
implement HTTP request body parsing
2014-11-18 22:00:31 -05:00
Peter Thorson
8cbe22266d
include cleanup
2014-11-18 21:58:47 -05:00
Peter Thorson
c23639d394
const correctness
2014-11-18 21:58:17 -05:00
Peter Thorson
d3ba1187de
use C++ style c-library header
2014-11-18 08:18:20 -05:00
Peter Thorson
02b53d979e
changelog update
2014-11-18 08:11:52 -05:00
Peter Thorson
1d598558d8
code style, correct more STL includes
2014-11-18 08:10:39 -05:00
Peter Thorson
ff3009ed26
remove unused file
2014-11-18 07:53:27 -05:00
Peter Thorson
d1f3eb9516
code style, correct STL includes
2014-11-18 07:52:36 -05:00
Peter Thorson
c0dc3c0e5f
add documentation, fix STL includes, remove deprecated HTTP parser methods
2014-11-18 07:25:45 -05:00
Peter Thorson
bfbfe2b052
Clean up code style and STL includes
2014-11-18 07:13:34 -05:00
Peter Thorson
1edc8deb01
remove unnecessary include
2014-11-18 06:57:54 -05:00
Peter Thorson
571be82531
code style
2014-11-17 22:16:33 -05:00
Peter Thorson
9ab9941f5e
remove unused type
2014-11-17 22:11:02 -05:00
Peter Thorson
7dfe0d5815
fix some utility client warnings
2014-11-15 13:02:29 -05:00
Peter Thorson
088625eb53
changelog typo
2014-11-15 12:55:53 -05:00
Peter Thorson
575834b534
utility_client tutorial updates
2014-11-15 12:52:19 -05:00
Peter Thorson
02dd5150fc
Chapter 6 (sending/receiving message) of utility_client tutorial
2014-11-15 11:22:08 -05:00
Peter Thorson
2917d9262c
share C++11 detection logic
2014-11-15 11:13:01 -05:00
Peter Thorson
fbc2966cda
Frame payload logging now prints text messages as text rather than binary
2014-11-14 09:31:53 -05:00
Peter Thorson
9de0a087b3
prepared messages now have correct opcode
...
This value is only used internally
2014-11-14 09:30:40 -05:00