Commit Graph

51 Commits

Author SHA1 Message Date
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
Peter Thorson
45813db04d simplifies sending close frames 2013-02-01 07:55:42 -06:00
Peter Thorson
5ea7ee328e adds state check to connection::close 2013-02-01 07:50:13 -06:00
Peter Thorson
662b4333aa updates close adaptor to proper connection interface 2013-02-01 07:50:03 -06:00
Peter Thorson
d0cbb07d5c adds documentation and adaptors for connection::close 2013-02-01 07:41:04 -06:00
Peter Thorson
b999051959 adds raw array based send adaptors to endpoint 2013-02-01 07:26:20 -06:00
Peter Thorson
7ffbe8bfd8 moves bad_connection error handling into get_con_from_hdl 2013-02-01 07:25:44 -06:00
Peter Thorson
30134f8545 moves adaptor functions into endpoint_impl 2013-02-01 07:19:11 -06:00
Peter Thorson
1bfe86d795 Adds raw array send method to connection 2013-02-01 07:09:02 -06:00
Peter Thorson
6925a68f95 temporary fix for outgoing frame corruption issue #references 179 2013-01-31 08:41:37 -06:00
Peter Thorson
375108aabf Switches cout based logging to logging policy 2013-01-27 08:20:08 -06:00
Peter Thorson
18fef37837 additional work on the broadcast server example 2013-01-20 14:31:54 -06:00
Peter Thorson
290b719048 inlines appropriate functions to work when included in multiple translation units. fixes #178 2013-01-20 09:02:17 -06:00
Peter Thorson
9a7631b2da updates endpoint concurrency features 2013-01-20 08:56:11 -06:00
Peter Thorson
b315f9f684 adds send adaptor functions to endpoints 2013-01-08 07:47:59 -06:00
Peter Thorson
a3acc4a1cf removes all old style handler code 2013-01-08 06:43:47 -06:00
Peter Thorson
ef8898afef adds support for message_handler 2013-01-08 06:33:02 -06:00
Peter Thorson
8df37fffbc Updates on_http and validate handlers to use new handler interface 2013-01-07 17:14:29 -06:00
Peter Thorson
e7b87e5d54 Updates on_ping, on_pong, and on_pong_timeout handlers to new interface 2013-01-07 16:53:14 -06:00
Peter Thorson
235b567b59 Updates on_close and on_fail to use new handler style 2013-01-07 12:45:09 -06:00
Peter Thorson
ebfb8b8e2f Removes handler_interface from all transport code 2013-01-07 12:30:41 -06:00
Peter Thorson
fe582e90e0 updates connection and endpoint to use new component styles 2013-01-07 12:23:21 -06:00
Peter Thorson
05f9faebf5 updates interrupt functionality to latest API spec 2013-01-06 09:59:38 -06:00
Peter Thorson
5949c58d2e updates transport accept loop to use connection_hdl and not be a template function 2013-01-06 09:19:08 -06:00