Commit Graph

104 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
b3a07d0978 adds overridable connection base class 2013-03-10 08:47:58 -05: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
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
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
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
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
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
Peter Thorson
aa9644f2a8 fixes typo 2013-02-01 07:13:09 -06:00
Peter Thorson
1bfe86d795 Adds raw array send method to connection 2013-02-01 07:09:02 -06:00
Peter Thorson
5b9afc0309 updates message buffer's set and append payload methods to allow both std::string and raw array input 2013-02-01 07:02:38 -06:00
Peter Thorson
4063440895 temporary logging test changes 2013-01-31 20:30:02 -06:00
Peter Thorson
c88cdaf2f4 updates buffer size to a more efficient default 2013-01-31 20:29:08 -06:00
Peter Thorson
6925a68f95 temporary fix for outgoing frame corruption issue #references 179 2013-01-31 08:41:37 -06:00
Peter Thorson
4928f84feb removes un-thread-safe access to cout 2013-01-31 08:40:46 -06:00
Peter Thorson
b4903dad0b adds an application level logging level 2013-01-31 08:40:16 -06:00
Peter Thorson
7fe9eb592f refines endpoint logging interface 2013-01-31 08:39:57 -06:00