Commit Graph

644 Commits

Author SHA1 Message Date
Peter Thorson
2584aed3d9 Fixes a bug in back to back iostream reads 2013-03-17 18:24:36 -05:00
Peter Thorson
727328cc9a updates output_stream member variable name to be consistent with WebSocket++ style 2013-03-17 18:24:07 -05:00
Peter Thorson
f7c36c46e9 adds new unit testing utility error code 2013-03-17 18:22:27 -05:00
Peter Thorson
7db9817d20 adds more transport documentation 2013-03-17 18:22:02 -05:00
Peter Thorson
56f5472c88 terminate test 2013-03-16 20:59:03 -05:00
Peter Thorson
f51a650027 Enables C++11 STL random usage on g++ 2013-03-16 09:02:39 -05:00
Peter Thorson
8e23bbf5b2 adds missing iostream include to random test 2013-03-15 07:56:55 -05:00
Peter Thorson
54ef4db3a1 adds example code for enriched and associative storage 2013-03-10 13:22:53 -05:00
Peter Thorson
b3a07d0978 adds overridable connection base class 2013-03-10 08:47:58 -05:00
Peter Thorson
117a76f1f9 updates gitignore 2013-03-08 08:47:45 -06:00
Peter Thorson
e5758d7b58 adds code from some of the manual examples 2013-03-08 08:47:28 -06:00
Peter Thorson
213451370d adds an overload of get_con_from_hdl that throws 2013-03-08 08:45:40 -06:00
Peter Thorson
6f34b0f062 adds functional support for std::ref 2013-03-08 08:44:55 -06:00
Peter Thorson
ee847e37fb adds more tests for endpoint base classes 2013-03-06 09:10:05 -06:00
Peter Thorson
c7e0647626 fixes typo 2013-03-06 08:33:20 -06:00
Peter Thorson
37b1c65904 impliments a user overridable endpoint base class and associated tests 2013-03-06 08:33:11 -06:00
Peter Thorson
40abb49483 adds tests related to request bodies 2013-03-03 17:34:53 -06:00
Peter Thorson
a6ce671c56 moves body to parser rather than response since requests can have bodies too. 2013-03-03 17:34:41 -06:00
Peter Thorson
aaff9a5f49 makes none the default RNG to avoid requiring random_device in server configs 2013-03-03 17:34:03 -06:00
Peter Thorson
14b2012328 Adds RNG unit tests 2013-03-02 20:47:30 -06:00
Peter Thorson
8b7fe18a85 updates config to add RNG policy 2013-03-02 20:47:23 -06:00
Peter Thorson
fbe991d9c2 updates boost random headers 2013-03-02 20:47:11 -06:00
Peter Thorson
b373a388e7 completes int_generator policies 2013-03-02 20:47:01 -06:00
Peter Thorson
ea4e66e14b additional iostream thread safety 2013-03-02 20:46:36 -06:00
Peter Thorson
8ec273e363 makes a cast explicit 2013-03-02 12:21:27 -06:00
Peter Thorson
45b3ed51ff moves some typedefs to public from protected 2013-03-01 17:28:12 -06:00
Peter Thorson
447c398479 fixes issue where close handler would be called twice 2013-02-24 16:29:53 -06:00
Peter Thorson
ce95137ef5 Removes more implicit casts 2013-02-17 07:44:41 -06:00
Peter Thorson
78b52be803 removes force casting from int to bool 2013-02-17 07:13:09 -06:00
Peter Thorson
e4f6aafb04 fixes some more visual studio warnings 2013-02-16 12:48:07 -06:00
Peter Thorson
9e19765bdf Fixes MSVC++ C4800 error (converting char to bool) 2013-02-16 12:41:07 -06:00
Peter Thorson
5c01b272fe changes generic to general because generic is a reserved word in visual studio 2013-02-16 12:31:32 -06:00
Peter Thorson
e0abafbd71 moves stdint header to common includes 2013-02-08 08:48:39 -06:00
Peter Thorson
f529ff2fbc updates connection test build dependency 2013-02-08 08:43:55 -06:00
Peter Thorson
ddfc0566f5 adds timer support 2013-02-02 13:10:06 -06:00
Peter Thorson
faaa8eb03e initial work on timer support 2013-02-02 10:54:30 -06:00
Peter Thorson
7d76532165 adds some documentation examples 2013-02-02 10:54:30 -06:00
Peter Thorson
6861398648 adds lowercase synonyms for some constants 2013-02-02 10:54:30 -06:00
Peter Thorson
3a92ff981a Merge pull request #183 from eandre/experimental
Added missing 'inline' directives
2013-02-01 15:43:45 -08:00
Peter Thorson
780847bf43 cleans up handle_accept error paths 2013-02-01 09:11:43 -06:00
Peter Thorson
99bc0abffc updates write_flag code to be robust and exception/thread safe 2013-02-01 08:59:57 -06:00
Peter Thorson
8d050767e1 fixes warning 2013-02-01 08:59:35 -06:00
Peter Thorson
45813db04d simplifies sending close frames 2013-02-01 07:55:42 -06:00
Peter Thorson
5ea7ee328e adds state check to connection::close 2013-02-01 07:50:13 -06:00
Peter Thorson
662b4333aa updates close adaptor to proper connection interface 2013-02-01 07:50:03 -06:00
Peter Thorson
d0cbb07d5c adds documentation and adaptors for connection::close 2013-02-01 07:41:04 -06:00
Peter Thorson
b999051959 adds raw array based send adaptors to endpoint 2013-02-01 07:26:20 -06:00
Peter Thorson
7ffbe8bfd8 moves bad_connection error handling into get_con_from_hdl 2013-02-01 07:25:44 -06:00
Peter Thorson
30134f8545 moves adaptor functions into endpoint_impl 2013-02-01 07:19:11 -06:00
Peter Thorson
30412282ee Updates constructor field order 2013-02-01 07:18:06 -06:00