Commit Graph

47 Commits

Author SHA1 Message Date
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
37396372c3 removes/ignores Xcode user data 2011-10-01 09:21:33 -05:00
Peter Thorson
6795a070d0 deletes binaries 2011-10-01 09:09:43 -05:00
Peter Thorson
963135dd1d cleaned up gitignore 2011-10-01 09:07:37 -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
47e2dda55b ignoring binaries 2011-10-01 09:04:35 -05:00
Peter Thorson
eff891cfda network utility TODO comments 2011-10-01 09:03:58 -05:00
Peter Thorson
169f8f9370 updates Xcode project with chat client build info 2011-10-01 09:03:32 -05:00
Peter Thorson
58cbd32b61 adjusts library and example makefiles for new boost library dependencies 2011-10-01 09:02:56 -05:00
Peter Thorson
868b059612 adds basic Xcode project with build settings for static, dynamic libraries and the echo server 2011-10-01 07:07:40 -05:00
Peter Thorson
b09e6d21c1 fixes makefile so dynamic library building works again. Static library build of applications should require fewer libraries now as well 2011-10-01 07:06:02 -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
6e24cb3548 updates chat client with new uri handling 2011-09-29 07:59:59 -05:00
Peter Thorson
5adb5cdfbe Fixes minor chat client issues 2011-09-29 07:47:19 -05:00
Peter Thorson
d650d68551 Adds unit testing framework, adds unit tests for WS url parsing 2011-09-29 07:46:37 -05:00
Peter Thorson
6063e2266d Added utility class for parsing WS urls 2011-09-29 07:45:59 -05:00
Peter Thorson
b1c2243872 chat client sends, receives, and displays messages from chat_server 2011-09-27 08:57:06 -05:00
Peter Thorson
0aae5eb04e ignoring binaries 2011-09-27 07:50:53 -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
7d938df15e ignoring binaries 2011-09-22 23:57:38 -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
e497984db3 echo server now accepts host in addition to host:port as a value for the Host handshake header 2011-09-15 06:56:41 -05:00
Peter Thorson
e63bb796ca disconnecting clients no longer breaks server, fixes #8 2011-09-15 06:54:51 -05:00
Peter Thorson
348214d568 Fixed chat server to work with new api fixes #4 2011-09-11 10:41: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
Peter Thorson
4764d69b34 Added exception system for handshake errors, fixed #2 Origin header name in draft 13 2011-09-10 08:58:04 -05:00
Peter Thorson
56485f543a cleaned up session, added better protocol version identification 2011-09-09 20:37:59 -05:00
Peter Thorson
8129c30f69 Reviewed more code and added todos to readme 2011-09-09 08:10:34 -05:00
Peter Thorson
8f7fdc8434 more license stuff 2011-09-08 08:31:19 -05:00
Peter Thorson
792b30f291 adjusted how valid hosts are stored 2011-09-08 08:28:56 -05:00
Peter Thorson
882d243bd5 license stuff 2011-09-08 07:35:16 -05:00
Peter Thorson
397cddc830 bunch of random fixes 2011-09-08 07:15:01 -05:00
Peter Thorson
fa73c478e9 initial commit 2011-09-07 20:27:29 -05:00