Commit Graph

541 Commits

Author SHA1 Message Date
Peter Thorson
235b567b59 Updates on_close and on_fail to use new handler style 2013-01-07 12:45:09 -06:00
Peter Thorson
ebfb8b8e2f Removes handler_interface from all transport code 2013-01-07 12:30:41 -06:00
Peter Thorson
6a4173578e Removes handler_interface types from socket components 2013-01-07 12:27:17 -06:00
Peter Thorson
fe582e90e0 updates connection and endpoint to use new component styles 2013-01-07 12:23:21 -06:00
Peter Thorson
8b890d755b Updates asio transport components to new styles 2013-01-07 12:22:46 -06:00
Peter Thorson
052abf06ad Updates asio socket components to new styles 2013-01-07 12:22:16 -06:00
Peter Thorson
e339e0f5c6 Updates server role with new component style 2013-01-07 12:21:28 -06:00
Peter Thorson
7aa7f3af80 Updates iostream transport to new component style 2013-01-07 12:20:41 -06:00
Peter Thorson
f9c62ee778 Updates configs for new socket API 2013-01-07 12:18:37 -06:00
Peter Thorson
f5d4cbe143 updates asio on_tcp_init callback to new api 2013-01-06 10:10:35 -06:00
Peter Thorson
ce7b09767a adds documentation 2013-01-06 10:10:18 -06:00
Peter Thorson
2ad049055c updates echo_server to use new interrupt API 2013-01-06 09:59:55 -06:00
Peter Thorson
05f9faebf5 updates interrupt functionality to latest API spec 2013-01-06 09:59:38 -06:00
Peter Thorson
5949c58d2e updates transport accept loop to use connection_hdl and not be a template function 2013-01-06 09:19:08 -06:00
Peter Thorson
a48c788ecc asio transport connection now recieves connection hdl 2013-01-06 09:17:09 -06:00
Peter Thorson
9ca476ae22 iostream connection now receives connection hdl 2013-01-06 09:16:49 -06:00
Peter Thorson
7bbfaa78bc connection forwards handle to transport 2013-01-06 09:16:11 -06:00
Peter Thorson
db6b32b90b const correctness 2013-01-06 09:15:55 -06:00
Peter Thorson
77422dec25 better qualifies subclass typedefs 2013-01-06 09:15:20 -06:00
Peter Thorson
d705a805eb adds ability to retrieve connection_hdl and some docs 2013-01-06 08:53:58 -06:00
Peter Thorson
9253e4fca2 adds a pointer type 2013-01-06 08:50:25 -06:00
Peter Thorson
b5a5fd6fe3 adds a pointer type 2013-01-06 08:50:15 -06:00
Peter Thorson
266ceafa26 connects interrupt's error handling 2013-01-06 08:49:55 -06:00
Peter Thorson
21eb1bbd35 adds a convenience function to retrieve connection pointers from handles 2013-01-06 08:49:36 -06:00
Peter Thorson
853c46a0f5 clarifies source of request_type redefinition 2013-01-06 06:45:35 -06:00
Peter Thorson
a6002daddd fixes security category make_error_code 2013-01-06 06:43:20 -06:00
Peter Thorson
448588ac5c fixes missing return value 2013-01-06 06:42:55 -06:00
Peter Thorson
2af6ccb7a7 Adds initial readme 2013-01-06 06:12:59 -06:00
Peter Thorson
f10f8a4ce0 Initial commit from private 0.3 repository 2013-01-06 06:09:15 -06:00
Peter Thorson
5809440f1a Updates multithreaded non-forked listen methods to not prematurely close the endpoint. references #168 2013-01-04 07:06:54 -06:00
Peter Thorson
4799525445 removes endpoint state change that breaks multi-threaded servers references #168 2013-01-04 06:28:44 -06:00
Peter Thorson
0c4d239aeb fixes formatting 2012-12-19 06:45:46 -06:00
Peter Thorson
43970572f5 version bump 2012-12-19 06:36:28 -06:00
Peter Thorson
6a1dccc8cb corrects an infinite loop when the acceptor is closed in thread pool mode references #168 2012-12-19 06:26:28 -06:00
Peter Thorson
6aa11a7fac Updates user agent/version string 2012-12-11 07:45:20 -06:00
Peter Thorson
0318700c00 m_requested_subprotocols wasn't getting populated. fixes #155
Thank you to robagar for finding this bug and jeffjcrowe for supplying
a patch
2012-12-11 07:07:25 -06:00
Peter Thorson
27a6d6f4d3 Close acceptor on stop_listen. fixes #161 2012-12-11 06:53:43 -06:00
Peter Thorson
ce1c1d3a76 removes unnecessary check fixes #163 2012-12-11 06:42:50 -06:00
Peter Thorson
1c8ba9954e Adjusts ordering guarantees on message sending references #149 2012-10-12 07:56:05 -05:00
Peter Thorson
52ce31bea4 updates the order of endpoint and handler construction #references 147 2012-10-12 06:36:23 -05:00
Peter Thorson
47a3c060ee Revert "Fix Compiler Warning on using std::copy: no point using STL routines inside low-level C-style code"
This reverts commit 5dfe48b043.
2012-10-12 06:31:18 -05:00
Peter Thorson
d80d9afd88 preliminary work on a fix to the ARM aliasing issues 2012-10-12 06:29:42 -05:00
Peter Thorson
25322aac0d adds missing virtual destructor 2012-10-12 06:29:42 -05:00
Peter Thorson
10ac9c41ec removes unused varaible from wsperf 2012-10-12 06:29:42 -05:00
Peter Thorson
492ada4788 updates SConstruct compile flags for posix and darwin 2012-10-12 06:29:41 -05:00
Peter Thorson
b73f1526b6 Merge pull request #148 from NNemec/master
Various small changes of general interest
2012-10-12 04:29:12 -07:00
Norbert Nemec
34a10b0916 split server::listen interface into start_listen and stop_listen, allowing the controlling thread to continue running asynchronously. (Legacy interface provided) 2012-10-09 15:08:25 +02:00
Norbert Nemec
db0a43a228 Disable warning C4355 for plain.hpp similar to server.hpp (beware: this hides a real design problem) 2012-10-09 14:06:20 +02:00
Norbert Nemec
dbdb150021 clarify interface by correct argument names 2012-10-09 14:00:07 +02:00
Norbert Nemec
5dfe48b043 Fix Compiler Warning on using std::copy: no point using STL routines inside low-level C-style code 2012-10-09 13:59:52 +02:00