Commit Graph

143 Commits

Author SHA1 Message Date
Peter Thorson
aa74d2b295 switched asio read and write handler to use a custom allocator 2013-10-20 13:09:37 -05:00
Peter Thorson
746389efab removes some range checking in an inner read loop 2013-10-20 13:05:46 -05:00
Peter Thorson
5894601291 caches callback functions rather than copying them from handler to handler 2013-10-20 13:03:32 -05:00
Peter Thorson
17c9831449 cache the binding of async read and write handler callbacks 2013-10-20 12:57:02 -05:00
Peter Thorson
45a612f44b additional support for compile time disabling of multithreading features 2013-10-20 12:54:59 -05:00
Peter Thorson
1e97f6c67c statically bind the async_read_handler 2013-10-16 08:23:42 -05:00
Peter Thorson
ed39a6ab1a Re-introduces strands to asio transport 2013-10-06 14:58:29 -05:00
Peter Thorson
b934e71ace adjust transport async_accept and async_connect to use connection_ptr instead of connection_hdl
prevents a newly created connection_ptr from being destroyed
immediately after accepting or connecting.
2013-10-06 10:51:41 -05:00
Peter Thorson
e91d6f6a45 refactor iostream read completion to remove memory leak 2013-09-28 07:56:41 -05:00
Peter Thorson
de6d15c9fc adds documentation notes about when fatal_error and eof methods showed up 2013-09-28 07:56:03 -05:00
Peter Thorson
3035c8dc0a Deprecates iostream transport readsome in favor of read_some
which is more consistent with the naming of the rest of the library.
2013-09-28 07:55:41 -05:00
Peter Thorson
c175ec4f42 Adds preliminary signaling to iostream transport of eof and fatal transport errors 2013-09-27 21:24:33 -05:00
Peter Thorson
e6319f51a4 Updates transport code to use shared rather than raw pointers. references #293 2013-09-26 07:43:10 -05:00
Peter Thorson
12d240ff09 fix typo 2013-08-12 11:25:12 -05:00
Peter Thorson
107d3c9bb6 add set_remote_endpoint method to iostream transport 2013-08-12 11:22:45 -05:00
Peter Thorson
49c07296dd iostream transport documentation 2013-08-12 11:22:26 -05:00
Peter Thorson
8475f5f200 add iostream transport set_secure functionality 2013-08-12 11:21:41 -05:00
Peter Thorson
8ef8372af1 transport policy documentation 2013-08-12 11:16:59 -05:00
Peter Thorson
4a10d8ddfd iostream transport docs and code style 2013-08-12 11:16:45 -05:00
Peter Thorson
a2d92c9a21 style and documentation 2013-08-05 08:28:22 -05:00
Peter Thorson
3bab403c1b Refactor asio_transport and add full docs and exception free varient methods 2013-07-27 11:24:24 -05:00
Peter Thorson
c017331959 remove trailing whitespace 2013-07-21 07:49:15 -05:00
Peter Thorson
2c879ee797 Wrap ioservice run_one method. Fixes #278 2013-07-21 07:00:28 -05:00
Peter Thorson
241cf697f6 Suppress error when shutting down a closed connection 2013-07-17 07:28:26 -05:00
Peter Thorson
b866e4e0ca Refactors URI to be exception and regex free 2013-07-09 16:50:47 -05:00
Peter Thorson
256f8325e8 spelling, documentation, and style 2013-06-23 21:06:33 -05:00
Peter Thorson
573dedcb9d transport code style 2013-06-23 16:26:37 -05:00
Peter Thorson
4f8b2bdc98 transport documentation & style 2013-06-23 16:18:03 -05:00
Peter Thorson
fd93ad89cb update documentation and code style 2013-06-16 21:08:53 -05:00
breyed
808a8ce0a9 fixed spelling, including "experimental" in API 2013-06-08 11:03:11 -05:00
Peter Thorson
fcac7071eb adds documentation 2013-05-30 13:32:45 -05:00
Peter Thorson
5677b5f400 adds dummy timer support + tests to iostream transport 2013-05-26 20:02:08 -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
0a4995bce5 adds missing include files 2013-05-11 15:48:32 -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
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
e2462ec30b use endpoint set_timer rather than connection 2013-05-10 16:02:33 -05:00
Peter Thorson
4adfc452d0 adds more robust proxy timeout behavior 2013-05-10 08:43:37 -05:00
Peter Thorson
16999a14c7 fixes some silly mistakes references #229 2013-05-09 16:35:39 -05:00
Peter Thorson
d85ea32851 adds timer support to asio endpoints, impliments dns resolve timer references #226 2013-05-08 08:52:52 -05:00
Peter Thorson
b408ab876e adds method to set proxy timeout duration at runtime 2013-05-07 20:45:28 -05:00
Peter Thorson
747bc55bcf adds documentation and error handling to proxy methods 2013-05-07 20:45:04 -05:00
Peter Thorson
5d0d1379b6 adds timer support for asio transport and adds proxy connect timeout references #226 2013-05-07 17:49:02 -05:00