Peter Thorson
c017331959
remove trailing whitespace
2013-07-21 07:49:15 -05:00
Peter Thorson
c94621bd29
case insensitive header comparisons fixes #220 and #275
2013-07-13 13:28:56 -05:00
Peter Thorson
b866e4e0ca
Refactors URI to be exception and regex free
2013-07-09 16:50:47 -05:00
Peter Thorson
8f2c4264e1
Server header/User agent adjustments & tests
...
Updates behavior to drop the headers if user_agent is set to the empty
string and to allow overriding the Server header from the validate
function. Updates docs and adds a number of tests
2013-07-08 18:07:33 -05:00
Peter Thorson
88fe1bfb1c
Fix issue where pong timeout handler always fired
2013-06-24 14:59:19 -05:00
Peter Thorson
5fd65a934b
fix typo
2013-06-24 13:35:25 -05:00
Peter Thorson
bb1420fe06
endpoint code style
2013-06-24 13:33:06 -05:00
Peter Thorson
0264b63fc3
Add ping and pong endpoint wrapper methods
2013-06-24 13:32:56 -05:00
Peter Thorson
fd93ad89cb
update documentation and code style
2013-06-16 21:08:53 -05:00
Peter Thorson
7db60e3429
fix poor server handling of double close frames fixes #259
2013-06-09 17:03:14 -05:00
Peter Thorson
3c0b8a81b0
Fix handling of spurious frames after close. Fixes #258
2013-06-09 16:41:04 -05:00
Peter Thorson
b812fd001b
Change default HTTP response error code to 426
...
Changes default HTTP response error code when no http_handler is
defined from 500/Internal Server Error to 426/Upgrade Required
2013-06-09 16:20:53 -05:00
Peter Thorson
dd563c6647
corrects TCP close behavior references #227 fixes #25
...
Per RFC6455 clients prefer to wait for servers to initiate TCP close.
timers ensure that clients don't wait forever. Servers close TCP
immediately.
2013-06-09 07:36:55 -05:00
Peter Thorson
56e81cb6eb
impliment close handshake timeouts references #226
2013-06-09 07:33:30 -05:00
Peter Thorson
c228f70a9f
complete handshake timeout references #226
2013-06-08 18:32:23 -05:00
Peter Thorson
f35918ce6e
split log_fail_result from log_close_result
2013-06-08 18:32:23 -05:00
Peter Thorson
c6381a2311
start client handshake timer
2013-06-08 18:32:22 -05:00
Peter Thorson
cff8604148
cancel handshake timers when handshake is complete
2013-06-08 18:32:22 -05:00
Peter Thorson
dfcd8a2967
set detailed error code on terminate
2013-06-08 18:32:22 -05:00
Peter Thorson
593c26f087
fix devel debug comment
2013-06-08 18:32:22 -05:00
Peter Thorson
408639a0b5
whitespace
2013-06-08 18:32:22 -05:00
Peter Thorson
b591e9fa7e
add handshake timeout handlers
2013-06-08 18:32:22 -05:00
Peter Thorson
8ee6a4a64b
set state to closing after we send our close frame
2013-06-08 18:32:22 -05:00
breyed
808a8ce0a9
fixed spelling, including "experimental" in API
2013-06-08 11:03:11 -05:00
Peter Thorson
b43717cd43
Merge branch 'experimental' of github.com:zaphoyd/websocketpp into experimental
2013-05-29 08:48:31 -05:00
Peter Thorson
10a8af1ac3
adds pong timer support and new full stack automated integration testing for it
2013-05-26 22:04:28 -05:00
Peter Thorson
d7e5235036
extract URI for HTTP connections also
2013-05-18 06:54:56 -05:00
Peter Thorson
a2a02ba063
adds a debug log statement
2013-05-14 15:14:57 -05:00
Peter Thorson
8e40c53f97
adds new async terminate interface which significantly improves error handling
2013-05-07 09:38:26 -05:00
Peter Thorson
6bd62edb43
removes unused code & updates naming conventions
2013-05-07 09:37:37 -05:00
Peter Thorson
7d8f1ea163
revert ignore of TLS short read references #224
2013-05-07 07:02:17 -05:00
Peter Thorson
f6f4befe46
adds new tls_short_read transport error
2013-05-05 19:06:55 -05:00
Peter Thorson
dc7872d647
test ignoring TLS short reads
2013-05-05 18:57:17 -05:00
Peter Thorson
d908c1afd2
update copyright dates and fix whitespace that doesn't match projec style
2013-05-05 11:23:31 -05:00
Peter Thorson
c559e0a623
connection initialization errors are properly logged and propogated
2013-05-04 11:52:52 -05:00
Peter Thorson
be07587659
removes expensive development logging from non-debug builds
2013-04-29 13:06:17 -05:00
Peter Thorson
2a71b89bbc
better debug messages
2013-04-27 13:57:44 -05:00
Peter Thorson
f46b305df8
fixes typo, references #213
2013-04-26 06:15:42 -05:00
Peter Thorson
d9d6338cc2
adds some additional debugging output
2013-04-25 18:55:21 -05:00
Peter Thorson
c2fe98c9a4
cleans up session::state values
2013-04-23 12:32:45 -05:00
Peter Thorson
cd8b467225
expected EOF after clean close no longer triggers fatal error references #209
2013-04-20 09:30:02 -05:00
Peter Thorson
d987f7b0d5
user agent strings in connect logging are now properly quoted
2013-04-20 08:56:45 -05:00
Peter Thorson
91250fcd54
adds a string_replace_all utility function
2013-04-20 08:56:19 -05:00
Peter Thorson
72b5fada72
adds close result logging
2013-04-20 08:34:28 -05:00
Peter Thorson
4bc4518df0
Fixes send buffer going out of scope, references #209
2013-04-16 11:26:13 -05:00
Peter Thorson
894124c042
improves error reporting and adds remote endpoint address to connection open logging
2013-04-12 08:13:18 -05:00
Peter Thorson
1e97e3dcf5
adds connection client methods for adding subprotocols to the handshake request
2013-04-07 12:18:03 -05:00
Peter Thorson
a9b30b6b07
updates processors to support writing handshake requests with subprotocols
2013-04-07 12:17:10 -05:00
Peter Thorson
51caf0517e
adds support for retrieving headers from the request and response objects
2013-04-06 15:30:35 -05:00
Peter Thorson
0c9c121160
moves subprotocol extraction into the processor
2013-04-06 12:10:39 -05:00