Commit Graph

151 Commits

Author SHA1 Message Date
Peter Thorson
babe00bc60 adds default client configs 2013-03-31 15:12:09 -05:00
Peter Thorson
35dbc8c8aa adds asio async connect and resolve functionality 2013-03-31 15:11:58 -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
e7e0c05e9a async_connect requires uri as a parameter now 2013-03-31 15:11:05 -05:00
Peter Thorson
4d78ba6daf fixes typo 2013-03-31 15:10:09 -05:00
Peter Thorson
859689bdf7 removes extraneous debug code 2013-03-31 15:09:59 -05:00
Peter Thorson
439efa0895 adds getter for connection uri part 2 2013-03-31 15:09:42 -05:00
Peter Thorson
2d35726edb adds getter for connection URI 2013-03-31 15:09:17 -05:00
Peter Thorson
7efcf1b047 processors now generate correct random masking keys 2013-03-31 15:08:43 -05:00
Peter Thorson
8a083528a2 finishes client handshake processing 2013-03-31 12:38:47 -05:00
Peter Thorson
aec59a1eb9 adds client handshake request generation and server response validation 2013-03-31 12:37:43 -05:00
Peter Thorson
6659846b2e extracts a method for processing handshake keys 2013-03-31 12:37:20 -05:00
Peter Thorson
c5842802e2 turns on error reporting by default 2013-03-31 09:24:53 -05:00
Peter Thorson
f423d051ee adds a new processor error code 2013-03-31 09:24:31 -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
cb6c396a6b adds handshake request processing to hybi13 and 00 processors 2013-03-30 19:55:04 -05:00
Peter Thorson
f494c72006 adds RNG support for endpoints, connections, and processors 2013-03-30 19:54:26 -05:00
Peter Thorson
39c278a871 Adds the ability to detect and use constexpr to the C++11 common header 2013-03-30 17:49:56 -05:00
Peter Thorson
b5b2fb9e0a adds default client version to core config 2013-03-30 17:49:35 -05:00
Peter Thorson
837d9eef9f Fixes a member variable that was not initialized before use 2013-03-30 17:48:35 -05:00
Peter Thorson
26d601e7c4 impliments async connect for iostream transport 2013-03-30 07:57:10 -05:00
Peter Thorson
3eef03d31e disables termination of connections that return bad handles 2013-03-30 07:56:50 -05:00
Peter Thorson
924bb1a050 adds client endpoint connection methods 2013-03-30 07:55:05 -05:00
Peter Thorson
f2d939ab37 moves transport endpoing base types into the right file 2013-03-30 07:54:36 -05:00
Peter Thorson
8ced80b2ed adds method to retrieve connection handle from iostream connections 2013-03-30 07:53:45 -05:00
Peter Thorson
1ddd43ccb0 client get_connection now sets URI 2013-03-30 07:05:31 -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
afd5646ca5 adds more client functionality and associated tests 2013-03-28 22:58:54 -05:00
Peter Thorson
0b0106a97f adds is_secure method to transport endpoint 2013-03-28 22:58:39 -05:00
Peter Thorson
4f00240a3b adds preliminary foundations for client support 2013-03-28 22:43:55 -05:00
Peter Thorson
e2489001cf adds connection dependencies 2013-03-28 22:43:23 -05:00
Peter Thorson
842c5749fc adds more error codes 2013-03-28 22:43:07 -05:00
Peter Thorson
ef857ea831 splits basic logger from log constants 2013-03-28 22:42:51 -05:00
Peter Thorson
dfd61f8504 updates copyright dates 2013-03-28 22:41:23 -05:00
Peter Thorson
91c1e59ec4 fixes a legacy/hybi00 handshake processing bug on 32 bit x86 2013-03-28 08:23:59 -05:00
Peter Thorson
45092c9633 adds get_io_service to asio transport 2013-03-17 22:57:27 -05:00
Peter Thorson
ceea7f7be9 adds additional C++11 library blacklist defines 2013-03-17 22:10:08 -05:00
Peter Thorson
f3810fa45e testing with regex common header 2013-03-17 21:41:09 -05:00
Peter Thorson
a547ee5a7a adds logging of connection opening results 2013-03-17 20:13:51 -05:00
Peter Thorson
caa828defe adds lots of documentation to iostream transport 2013-03-17 18:27:54 -05:00
Peter Thorson
51633781e3 fixes missing dependency on the logger 2013-03-17 18:27:42 -05:00
Peter Thorson
c73df1f3b5 fixes uninitialized m_output_stream variable 2013-03-17 18:27:21 -05:00
Peter Thorson
8e6bdfe42f impliments get_remote_endpoint for iostream transport 2013-03-17 18:26:46 -05:00
Peter Thorson
8e2b424887 fixes handling for zero length reads and reads to zero length buffers 2013-03-17 18:26:16 -05:00
Peter Thorson
940108b2a8 fixes a bug in scatter gather writes with lengths other than 1 2013-03-17 18:25:35 -05:00
Peter Thorson
2584aed3d9 Fixes a bug in back to back iostream reads 2013-03-17 18:24:36 -05:00
Peter Thorson
727328cc9a updates output_stream member variable name to be consistent with WebSocket++ style 2013-03-17 18:24:07 -05:00
Peter Thorson
f7c36c46e9 adds new unit testing utility error code 2013-03-17 18:22:27 -05:00