Commit Graph

55 Commits

Author SHA1 Message Date
Peter Thorson
536ded2512 continues work on program options, updates makefiles for examples 2011-10-28 09:26:54 -05:00
Tobias Oberstein
0cfba0a175 Merge remote branch 'peter/network-streaming' into network-streaming-vcpp2010 2011-10-28 12:44:13 +02:00
Peter Thorson
62a97aad6b starts work on program options 2011-10-27 17:26:37 -05:00
Tobias Oberstein
d966fa2923 Merge remote branch 'peter/network-streaming' into network-streaming-vcpp2010 2011-10-27 19:07:51 +02:00
Peter Thorson
80037e4d9f debug statement 2011-10-27 12:05:50 -05:00
Tobias Oberstein
f085297fd2 Merge remote branch 'peter/network-streaming' into network-streaming-vcpp2010 2011-10-27 17:12:58 +02:00
Peter Thorson
5f35df4e6e streamlined bad close code behavior 2011-10-27 10:06:21 -05:00
Peter Thorson
ccb34c98b4 fixes close status handling 2011-10-27 09:42:11 -05:00
Tobias Oberstein
51659c3a0c Merge remote branch 'peter/network-streaming' into network-streaming-vcpp2010 2011-10-27 10:57:21 +02:00
Peter Thorson
af2fa69822 catches socket exception when other end closes the connection right as we are about to 2011-10-26 16:47:20 -05:00
Peter Thorson
f3769e041a error timers 2011-10-26 14:47:35 -05:00
Peter Thorson
48cd643ee8 close handling timers 2011-10-26 14:41:16 -05:00
Tobias Oberstein
4274292858 temporariy hack to work around access issue 2011-10-26 17:10:11 +02:00
Peter Thorson
1d7cb1bee3 updates to connection handler 2011-10-20 19:51:39 -05:00
Peter Thorson
41f60162ec preliminary work on various timeouts, adjusts the handler API to be more consistant 2011-10-20 08:45:10 -05:00
Peter Thorson
333fd6101e api sketching 2011-10-20 07:09:45 -05:00
Peter Thorson
dd4db981d5 more docs 2011-10-18 17:23:41 -05:00
Peter Thorson
63fe20e2a7 documentation 2011-10-18 11:29:00 -05:00
Peter Thorson
c4da789430 begins work on timeouts 2011-10-14 08:59:03 -05:00
Peter Thorson
1ff8d333a5 completes frame reading changes.
fixes 37, fixes 32
2011-10-10 18:35:38 -05:00
Peter Thorson
eec0390618 default logging settings change 2011-10-10 18:14:48 -05:00
Peter Thorson
43bee764a9 default logging changes 2011-10-10 18:13:49 -05:00
Peter Thorson
f0947e4b1d frame reading cleanup. NOTE: this revision won't compile 2011-10-07 22:07:17 -05:00
Peter Thorson
9180e52103 continues frame reading changes fixes a lot of underspecified close behavior. NOTE: this revision won't compile 2011-10-07 08:26:41 -05:00
Peter Thorson
831da9e12b preliminary frame reading changes. NOTE: this revision won't compile 2011-10-06 08:51:18 -05:00
Peter Thorson
37d5f968d0 adds limit to network read buffer (to prevent DoS attacks), refactors client handshake reading to leave non-handshake data in the read buffer 2011-10-04 08:14:04 -05:00
Peter Thorson
5fb6f36918 merges windows support and local branch 2011-10-03 07:34:30 -05:00
Peter Thorson
e148b309f9 some temporary debug printing 2011-10-03 07:22:51 -05:00
Peter Thorson
d40887c701 fixes url fragment parsing and adds url fragment and query parsing unit tests fixes #23 2011-10-01 09:22:35 -05:00
Peter Thorson
5e8af4b8bd session enforces client masking 2011-10-01 09:06:19 -05:00
Peter Thorson
99a487954e frame now generates a random masking key 2011-10-01 09:05:59 -05:00
Peter Thorson
3889b5c4a7 client_session now generates a random client key 2011-10-01 09:05:26 -05:00
Peter Thorson
eff891cfda network utility TODO comments 2011-10-01 09:03:58 -05:00
Peter Thorson
b1563cb65f fixed 64 bit to 32 bit variable size mismatch warning in base64 encoder 2011-10-01 07:04:52 -05:00
Peter Thorson
b060f57655 updates client and client session to use new uri handling 2011-09-29 08:00:26 -05:00
Peter Thorson
6063e2266d Added utility class for parsing WS urls 2011-09-29 07:45:59 -05:00
Peter Thorson
4202ddbd75 removes C++11 requirement for read_frame, allows reading unmasked frames 2011-09-27 07:50:43 -05:00
Peter Thorson
66ee9ee170 reading small unmasked frames works now, adds debug frame logging 2011-09-27 07:49:35 -05:00
Peter Thorson
0568bbe112 adds basic url parsing 2011-09-26 20:26:38 -05:00
Peter Thorson
da1795feac refectors session into client_session/server_session/core, adds client handler and chat_client example. Client functionality is experimental and non-compliant at the moment. 2011-09-26 09:49:52 -05:00
Peter Thorson
48da9d1522 adds connection close state and logic. begins refactoring of error/access logging 2011-09-22 23:57:20 -05:00
Peter Thorson
7afe536ca8 adds timestamps to error/access logs and boost date_time dependency 2011-09-22 23:56:13 -05:00
Peter Thorson
dfea349ff4 tweaks close handshake handling, no longer reports expected eof errors 2011-09-15 09:21:01 -05:00
Peter Thorson
5eeae56ca7 adds UTF8 validation state, better closing handshake logic, fixes misc other error conditions 2011-09-15 07:00:33 -05:00
Peter Thorson
2408d67ffe C++ implementation of Bjoern Hoehrmann's utf8 validatior 2011-09-15 06:58:35 -05:00
Peter Thorson
342dbd182d adds frame UTF8 validation method 2011-09-15 06:57:51 -05:00
Peter Thorson
84f3055550 better error handling, cleaned up close session handling 2011-09-11 10:41:06 -05:00
Peter Thorson
6041a4a942 work on closing handshake 2011-09-10 15:21:46 -05:00
Peter Thorson
e5b307652e added server error exception system; moved host and message size validation into server, references #7, sessions now have a pointer back to the server so they can ask it about server wide policy. 2011-09-10 10:29:25 -05:00
Peter Thorson
bbeba1b214 session clean up. better error reporting for server handshake errors 2011-09-10 09:06:45 -05:00