1. 30 3月, 2019 1 次提交
  2. 10 2月, 2019 1 次提交
  3. 04 1月, 2019 1 次提交
  4. 17 7月, 2018 3 次提交
  5. 12 7月, 2018 1 次提交
  6. 27 4月, 2018 1 次提交
  7. 26 4月, 2018 8 次提交
    • Y
      1.2.6 release. · 7b42c4b5
      youngwolf 提交于
      Fix: Reconnectiong may happen in ascs::socket::reset, it's not a right behavior.
      Do reconnecting in client_socket_base::after_close rather in client_socket_base::on_close.
      7b42c4b5
    • Y
      1.2.3 release. · 01d43fe5
      youngwolf 提交于
      Support decreasing the number of service thread at runtime.
      Not support Visual C++ 11.0 (2012) any more, use st_asio_wrapper instead.
      Optimized and simplified auto_buffer, shared_buffer and ext::basic_buffer.
      Optimized class obj_with_begin_time.
      Not use sending buffer (send_msg_buffer) if possible.
      Reduced stopped() invocation (because it needs locks).
      Introduced asio::io_service::work (asio::executor_work_guard).
      i_server has been moved from ascs to ascs::tcp.
      Move all deprecated classes (connector_base, client_base, service_base) to alias.h
      Rename tcp::client_base to tcp::multi_client_base, ext::tcp::client to ext::tcp::multi_client, udp::service_base to udp::multi_service_base,
       ext::udp::service to ext::udp::multi_service. Old ones are still available, but have became alias.
      01d43fe5
    • Y
      1.2.0 release. · 75fa186f
      youngwolf 提交于
      Support object restoration (on server side).
      Re-implement heartbeat function, use user data instead of OOB.
      Refactor and optimize ssl object, now ssl::commector_base and ssl::server_socket_base are reuable.
      
      Not compatible with old versions, please note.
      See config.h for more details about this release.
      75fa186f
    • W
      Disable heartbeat by default. · 7bf5fe20
      wolf 提交于
      Sync doc.
      Version number keeps unchanged.
      7bf5fe20
    • Y
      1.1.5 release. · 6251fb2d
      youngowlf 提交于
      Support heartbeat (via OOB data), see ASCS_HEARTBEAT_INTERVAL macro for more details.
      Support scatter-gather buffers when receiving messages, this feature needs modification of i_unpacker, you must explicitly define
       ASCS_SCATTERED_RECV_BUFFER macro to open it, this is just for compatibility.
      Simplify lock-free mechanism and use std::atomic_flag instead of std::atomic_size_t.
      Optimize container insertion (use series of emplace functions instead).
      Demo echo_client support alterable number of sending thread (before, it's a hard code 16).
      Fix bug: In extreme cases, messages may get starved in receive buffer and will not be dispatched until arrival of next message.
      Fix bug: In extreme cases, messages may get starved in send buffer and will not be sent until arrival of next message.
      Fix bug: Sometimes, connector_base cannot reconnect to the server after link broken.
      
      known issues:
      1. heartbeat mechanism cannot work properly between windows (at least win-10) and Ubuntu (at least Ubuntu-16.04).
      6251fb2d
    • Y
      1.1.2 release. · afbf6243
      youngwolf 提交于
      Fix bug: ascs::list cannot be moved properly via moving constructor.
      Use ASCS_DELAY_CLOSE instead of ASCS_ENHANCED_STABILITY macro to control delay close duration,
       0 is an equivalent of defining ASCS_ENHANCED_STABILITY, other values keep the same meanings as before.
      Move ascs::socket::closing related logic to ascs::object.
      Make ascs::socket::id(uint_fast64_t) private to avoid changing IDs by users.
      Call close at the end of shutdown function, just for safety.
      Add move capture in lambda.
      Optimize lambda expressions.
      afbf6243
    • Y
      1.1.1 release. · 2aabeebb
      youngwolf 提交于
      Support non-lock queue, it's totally not thread safe and lock-free, it can improve IO throughput with particular business.
      Demonstrate how and when to use non-lock queue as the input and output message buffer.
      Queues (and their internal containers) used as input and output message buffer are now configurable (by macros or template arguments).
      New macros--ASCS_INPUT_QUEUE, ASCS_INPUT_CONTAINER, ASCS_OUTPUT_QUEUE and ASCS_OUTPUT_CONTAINER.
      Drop macro ASCS_USE_CONCURRENT_QUEUE, rename macro ASCS_USE_CONCURRE to ASCS_HAS_CONCURRENT_QUEUE.
      In contrast to non_lock_queue, split message_queue into lock_queue and lock_free_queue.
      Move container related classes and functions from st_asio_wrapper_base.h to st_asio_wrapper_container.h.
      Improve efficiency in scenarios of low throughput like pingpong test.
      Replaceable packer/unpacker now support replaceable_buffer (an alias of auto_buffer) and shared_buffer to be their message type.
      Move class statistic and obj_with_begin_time out of ascs::socket to reduce template tiers.
      2aabeebb
    • Y
      Support concurrent queue (https://github.com/cameron314/concurrentqueue), it's lock-free. · 66308c58
      youngowlf 提交于
      Optimize locks on msg sending and dispatching.
      Drop original congestion control and add a semi-automatic congestion control.
      Drop post_msg_buffer and corresponding functions (like post_msg()), timer (ascs::socket::TIMER_HANDLE_POST_BUFFER).
      66308c58
  8. 28 9月, 2016 1 次提交
    • W
      Sync doc. · eb2d1827
      wolf 提交于
      ext directory refactoring.
      Add ascs::ext::tcp, ascs::ext::udp and ascs::ext::ssl name spaces.
      Make timer_info's member variables mutable (except the id), so we can change them in std::set.
      Make shutdown operation thread safe.
      Drop macro ASCS_OBSOLETED_OBJECT_LIFE_TIME and ASCS_THIS, and ssize_t definition for Visual C++.
      Fix bug: repeatedly join the same service thread while stopping service_pump if you restarted it.
      Version number keeps unchanged.
      eb2d1827
  9. 17 9月, 2016 1 次提交
    • Y
      ascs first release, version 1.0.0 · 301e46b6
      youngwolf 提交于
      Strip boost (Based on st_asio_wrapper 1.1.3).
      Need c++14, if your compiler detected duplicated 'shared_mutex' definition, please define ASCS_HAS_STD_SHARED_MUTEX macro.
      Need to define ASIO_STANDALONE and ASIO_HAS_STD_CHRONO macros.
      Collect all macros together.
      301e46b6