Peter Thorson
9efb12e59b
Fixes an issue where some frame data was counted against the max header size limit
...
End result was that connections that included a lot of frame data
immediately after the initial handshake would erroneously fail due to
hitting the max header size limit.
2015-02-27 09:48:00 -05:00
Peter Thorson
f20b2e573f
Merge branch 'develop'
0.5.0
2015-01-22 09:56:40 -05:00
Peter Thorson
650e4c336b
Prepare version 0.5.0 for submission
2015-01-22 09:56:20 -05:00
Peter Thorson
31c761a0a9
Endpoints are now reset after listen failure. fixes #390
2015-01-22 08:20:13 -05:00
Peter Thorson
681c2331a1
Fixes out of scope pointer returned from websocketpp::exception::what(); fixes #397
...
Also adds unit tests for exception construction
2015-01-22 07:33:14 -05:00
Peter Thorson
d55f28fe4b
fix a bunch of minor warnings
2015-01-20 07:53:53 -05:00
Peter Thorson
a8d4a9a66a
increase test timeouts to help avoid false positives
2015-01-20 07:17:29 -05:00
Peter Thorson
875d420952
Merge pull request #398 from rec/uninitialized-variable
...
Initialize websocketpp::transport::asio::endpoint::m_io_service to NULL.
2015-01-15 20:09:21 -06:00
Tom Ritchford
d792639c20
Initialize websocketpp::transport::asio::endpoint::m_io_service to NULL.
2015-01-15 11:00:04 -05:00
Peter Thorson
d4e15c89ad
update changelog
2015-01-14 06:18:56 -06:00
Peter Thorson
1d29d48bb8
Merge pull request #393 from Schebb/develop
...
fixed 'localtime_*' compilation error MinGW
2015-01-14 06:12:58 -06:00
Peter Thorson
09c5f6505e
Disable default use of C++11 threads on MinGW
2015-01-06 17:34:00 -06:00
Peter Thorson
745ed4f77a
increase test timeout to help fail less on slow travis machines
2015-01-06 17:33:01 -06:00
Schebb
854166364b
fixed 'localtime_*' compilation error MinGW
2015-01-06 13:23:53 +01:00
Peter Thorson
1517d646f9
update changelog, remove unused parameters
2014-12-16 07:05:47 -05:00
Peter Thorson
6bb36a28e7
typos
2014-12-16 06:38:37 -05:00
Peter Thorson
96362774a3
move this up a bit to ignore response status code
2014-12-16 06:36:34 -05:00
Peter Thorson
0a879a6dc2
add a check to gracefully exit if terminate was called during an http handler
2014-12-16 06:25:58 -05:00
Peter Thorson
867b323af0
add raw_head to http_request
2014-12-16 06:24:29 -05:00
Peter Thorson
9dd99ead25
gitignore debug stuff
2014-12-13 06:42:48 -05:00
Peter Thorson
e3884e351b
gitignore test
2014-12-13 06:41:12 -05:00
Peter Thorson
23e97bcc11
Better C++11 detection for visual studio
2014-12-13 06:24:52 -05:00
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