Commit Graph

722 Commits

Author SHA1 Message Date
Peter Thorson
51caf0517e adds support for retrieving headers from the request and response objects 2013-04-06 15:30:35 -05:00
Peter Thorson
d47327d2a6 updates readme progress list 2013-04-06 12:12:35 -05:00
Peter Thorson
0c9c121160 moves subprotocol extraction into the processor 2013-04-06 12:10:39 -05:00
Peter Thorson
ddd1a95460 refactors hybi00 unit tests to remove duplicate code and use more specific BOOST checks 2013-04-06 12:10:16 -05:00
Peter Thorson
17fcb3f8be adds subprotocol selection to connection 2013-04-06 11:09:41 -05:00
Peter Thorson
8f812aafd5 adds subprotocol processing to handshake processors 2013-04-06 11:09:11 -05:00
Peter Thorson
6d1b956aff adds preliminary server side subprotocol negotiation 2013-04-05 21:10:19 -05:00
Peter Thorson
10db03d710 more work on subprotocol tests 2013-04-05 09:30:15 -05:00
Peter Thorson
9f0649cb91 adds integration tests for the server role 2013-04-05 08:29:17 -05:00
Peter Thorson
8c7c31362d Adds storage and getter for negotiated subprotocol 2013-04-05 08:28:54 -05:00
Peter Thorson
1f450fd034 refactors connection testing to extract more common functionality 2013-04-05 08:28:13 -05:00
Peter Thorson
9ebd169675 fixes a crash when strftime overflowed buffer #205 2013-04-05 07:29:20 -05:00
Peter Thorson
c937f71b49 changes extension permessage-compress to permessage-deflate per latest draft spec 2013-04-04 08:18:39 -05:00
Peter Thorson
dff7a57e3d updates HTTP parser to use an ordered list of parameters rather than unordered
order matters as far as websocket extension negotation goes
2013-04-04 08:18:05 -05:00
Peter Thorson
73e877f1b8 removes unused headers to avoid confusion references #202 2013-04-01 08:43:43 -05:00
Peter Thorson
7739d4fe72 updates readme 2013-03-31 21:43:22 -05:00
Peter Thorson
a8e3ae47dd more readme updates 2013-03-31 21:35:11 -05:00
Peter Thorson
dcdeb96c62 readme updates 2013-03-31 21:21:39 -05:00
Peter Thorson
f38acd5784 impliments the autobahn echo client spec to allow autobahn test suite to test the client 2013-03-31 21:20:14 -05:00
Peter Thorson
800028d1a9 Changes HTTP response parser behavior to only read response bodies when a content length header is present 2013-03-31 21:16:33 -05:00
Peter Thorson
8587647657 Adds echo_client example 2013-03-31 15:12:57 -05:00
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
13ec782a4f lots of tests 2013-03-31 12:37:59 -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
45198eb4c6 major overhaul to processor unit tests to reduce duplicated code 2013-03-31 10:49:31 -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
ddddef5444 updates to unit tests to support new connection and processor api that includes RNG 2013-03-30 20:12:37 -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