Commit Graph

329 Commits

Author SHA1 Message Date
Peter Thorson
dfcd8a2967 set detailed error code on terminate 2013-06-08 18:32:22 -05:00
Peter Thorson
593c26f087 fix devel debug comment 2013-06-08 18:32:22 -05:00
Peter Thorson
408639a0b5 whitespace 2013-06-08 18:32:22 -05:00
Peter Thorson
b591e9fa7e add handshake timeout handlers 2013-06-08 18:32:22 -05:00
Peter Thorson
f2486d4aef add handshake timer & associated handlers 2013-06-08 18:32:22 -05:00
Peter Thorson
1892e0f13b remove unused code 2013-06-08 18:32:22 -05:00
Peter Thorson
8ee6a4a64b set state to closing after we send our close frame 2013-06-08 18:32:22 -05:00
Peter Thorson
c86601f123 add methods to retrieve WebSocket close codes & reasons 2013-06-08 18:32:22 -05:00
Peter Thorson
0f02119d48 adds new error codes for handshake timeouts 2013-06-08 18:32:22 -05:00
Peter Thorson
196523ba42 adds a machine readable internal error code
To be used for storing detailed error codes for why connections failed
or were closed
2013-06-08 18:32:22 -05:00
Peter Thorson
4a94a7c518 Merge pull request #253 from breyed/spelling
fixed spelling, including "experimental" in API
2013-06-08 09:19:41 -07:00
breyed
808a8ce0a9 fixed spelling, including "experimental" in API 2013-06-08 11:03:11 -05:00
Peter Thorson
55fa61feb1 Merge remote-tracking branch 'origin/0.3.x-cmake' into experimental 2013-06-08 09:29:53 -05:00
Jeff Mitchell
2b6b4862ce Add missing condition_variable include 2013-06-05 14:12:13 -04:00
Peter Thorson
2e2a8e4346 documentation and reorganization 2013-05-30 23:30:04 -05:00
Peter Thorson
808179551f remove dead code 2013-05-30 23:29:48 -05:00
Peter Thorson
38a565888f adds documentation 2013-05-30 18:05:34 -05:00
Peter Thorson
dcb13d58be updates hybi00 to use new md5 header 2013-05-30 17:56:57 -05:00
Peter Thorson
e8aa1e0e12 consolodates md5 code 2013-05-30 17:50:10 -05:00
Peter Thorson
fcac7071eb adds documentation 2013-05-30 13:32:45 -05:00
Peter Thorson
ea36bf1cf7 removes unused files 2013-05-30 13:32:33 -05:00
Peter Thorson
b43717cd43 Merge branch 'experimental' of github.com:zaphoyd/websocketpp into experimental 2013-05-29 08:48:31 -05:00
Jeff Mitchell
0a7aaa2632 Overload get_connection to allow passing in an already-constructed uri_ptr. This avoid the need for using the regex, which GCC does not implement yet. 2013-05-28 13:15:01 -04:00
Peter Thorson
10a8af1ac3 adds pong timer support and new full stack automated integration testing for it 2013-05-26 22:04:28 -05:00
Peter Thorson
5677b5f400 adds dummy timer support + tests to iostream transport 2013-05-26 20:02:08 -05:00
Peter Thorson
2c09846722 Merge pull request #239 from zaphoyd/experimental
updates cmake branch with latest changes
2013-05-18 05:05:00 -07:00
Peter Thorson
d7e5235036 extract URI for HTTP connections also 2013-05-18 06:54:56 -05:00
Peter Thorson
dd534ace64 switches processor to use new free get_uri function 2013-05-18 06:54:32 -05:00
Peter Thorson
065dd26779 adds free processor extract uri from request utility method 2013-05-18 06:53:46 -05:00
Peter Thorson
8c6b049e99 adds better support for custom URI schemes 2013-05-18 06:53:17 -05:00
Peter Thorson
4474868372 adds unique_lock and condition_variable to common thread tools 2013-05-16 10:30:38 -05:00
Peter Thorson
f3faf404dd merge from experimental 2013-05-14 15:22:22 -05:00
Peter Thorson
a2a02ba063 adds a debug log statement 2013-05-14 15:14:57 -05:00
Peter Thorson
a8f649892f renames mock logger to stub logger 2013-05-13 09:03:12 -05:00
Peter Thorson
d8310780ac adds documentation 2013-05-13 07:50:43 -05:00
Peter Thorson
a77d92e99a switches the order of error and access log paramters to be consistent with the rest of the library 2013-05-13 07:50:29 -05:00
Peter Thorson
4a4c763d18 Merge pull request #231 from zaphoyd/experimental
bring cmake branch in line with experimental
2013-05-11 13:57:46 -07:00
Peter Thorson
0a4995bce5 adds missing include files 2013-05-11 15:48:32 -05:00
Peter Thorson
8f7843094d edits for consistency 2013-05-11 15:48:21 -05:00
Peter Thorson
738822813f Adds an empty mock logger 2013-05-11 15:47:56 -05:00
Peter Thorson
5bd0332d19 return error code by value rather than reference 2013-05-11 09:43:09 -05:00
Peter Thorson
cb5955ccc5 defines timers before using them 2013-05-11 09:40:19 -05:00
Peter Thorson
2f050cf412 updates socket policy error handling 2013-05-11 09:36:42 -05:00
Peter Thorson
67edd83a7c adds post_init (tls) and shutdown timers references #226 2013-05-11 07:11:00 -05:00
Peter Thorson
c8f603ed1c simplify tls async shutdown 2013-05-11 07:09:59 -05:00
Peter Thorson
d37dd26f43 rename config constants for consistency 2013-05-11 07:09:42 -05:00
Peter Thorson
3ac8a99cec fixes some typos 2013-05-10 17:18:33 -05:00
Peter Thorson
58fd1b80c2 refactors dns resolve timer to be more robust and adds connect timer 2013-05-10 17:17:13 -05:00
Peter Thorson
43ba642b53 removes timeouts from socket policy (moving them a level up) 2013-05-10 17:13:46 -05:00
Peter Thorson
4e06c837ff adds post/pre init and connect timeout values to default configs 2013-05-10 17:07:52 -05:00