Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
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
5e8af4b8bd session enforces client masking 2011-10-01 09:06:19 -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
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
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
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
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
fa73c478e9 initial commit 2011-09-07 20:27:29 -05:00