Commit Graph

74 Commits

Author SHA1 Message Date
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
Peter Thorson
17fcb3f8be adds subprotocol selection to connection 2013-04-06 11:09:41 -05:00
Peter Thorson
6d1b956aff adds preliminary server side subprotocol negotiation 2013-04-05 21:10:19 -05:00
Peter Thorson
8c7c31362d Adds storage and getter for negotiated subprotocol 2013-04-05 08:28:54 -05:00
Peter Thorson
7a1e9a2f59 fixes connection client bug where it would wait for the HTTP body to be read when there wasn't one 2013-03-31 15:11:39 -05:00
Peter Thorson
4d78ba6daf fixes typo 2013-03-31 15:10:09 -05:00
Peter Thorson
439efa0895 adds getter for connection uri part 2 2013-03-31 15:09:42 -05:00
Peter Thorson
8a083528a2 finishes client handshake processing 2013-03-31 12:38:47 -05:00
Peter Thorson
1475e30930 updates http constants to match the code style of the rest of the library 2013-03-31 09:24:15 -05:00
Peter Thorson
46fb7e6645 adds more logic for reading client handshake responses 2013-03-30 22:41:57 -05:00
Peter Thorson
67c740e264 adds HTTP request sending to connections 2013-03-30 19:55:40 -05:00
Peter Thorson
f494c72006 adds RNG support for endpoints, connections, and processors 2013-03-30 19:54:26 -05:00
Peter Thorson
7afcd866a0 adds the ability to set a connection URI outside of the server handshake 2013-03-30 07:05:08 -05:00
Peter Thorson
a547ee5a7a adds logging of connection opening results 2013-03-17 20:13:51 -05:00
Peter Thorson
56f5472c88 terminate test 2013-03-16 20:59:03 -05:00
Peter Thorson
447c398479 fixes issue where close handler would be called twice 2013-02-24 16:29:53 -06:00
Peter Thorson
99bc0abffc updates write_flag code to be robust and exception/thread safe 2013-02-01 08:59:57 -06:00
Peter Thorson
8d050767e1 fixes warning 2013-02-01 08:59:35 -06:00