Yasio Versions Save

A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client applications.

v3.39.10

1 year ago

CHANGELOG

  1. Improve object_pool, ensure address of allocated object from pool align with std::max_align_t, should fix optimized-build crash on android x86_64.

v3.39.9

1 year ago

CHANGELOG

  1. Remove unsafe option: YOPT_S_FORWARD_EVENT, may cause internal channel behavior incorrect.

  2. Add forward packet event support, new option: YOPT_S_FORWARD_PACKET, after enable forward packet:

    • Use event->packet_view() receive packet event
    • No upack
    • No deferred packet
    • No GC alloc
  3. Fix sort_timers may cause std::sort crash on sort callback when system clock slow

  4. Fix typo YASIO_ENABLE_PASSIVE_EVENT

  5. Fix timer queue empty check

v3.39.7

1 year ago

CHANGELOG

  1. Add forward event support fire packet event, new option: YOPT_S_FORWARD_EVENT, after enable forward event:

    • Use event->packet_view() receive packet event
    • No upack
    • No deferred event
    • No GC alloc
  2. Refactor ssl backends, add follow new option and channel kind

    • YOPT_S_SSL_CERT: to specific ssl server cert and private_key files
    • YCK_SSL_SERVER: open a channel as ssl server, notes: require specific valid cert and private_key file with option YOPT_S_SSL_CERT
    • Also fix crash on destructor of io_transport_ssl
  3. Improve option YOPT_S_SSL_CACERT, now support specific multi-certs with delimiter ,

  4. Improve c-ares integration

  5. Improve extesion yasio_http, move it's dependent llhttp to thirdparty and managed by git submodule

  6. Remove signal_blocker when create service thread which will cause app random stuck on startup

  7. Fix c++20 compiler warnings

v3.39.6f2

1 year ago

This release mainly change is use poll as default reactor.

v3.39.5

1 year ago

Fix no callback after dns resolve failed with system getaddrinfo

v3.39.4

2 years ago

v3.39.3

2 years ago
  1. Improve byte_buffer stl compatible
  2. Add option YOPT_C_UNPACK_NO_BSWAP
  3. Add urlEncode/urlDecode to extension yasio_http
  4. Improve extension yasio_http as unreal engine plugin
  5. Fix missing retrun statement in cxx17::string_view hasher template
  6. Change lua script io_event.packet(bool) to io_event:packet(bufferType)
    • yasio.BUFFER_DEFAULT: take packet as native yasio::ibstream
    • yasio.BUFFER_NO_BSWAP: take packet as natvie yasio::fast_ibstream without byte order convert
    • yasio.BUFFER_RAW: take packet as lua string
  7. CMake: Set default ssl backend to mbedtls

v3.39.2

2 years ago

CHANGELOG

  • Use byte_buffer instead std::vector<char>
  • Add extension yasio_http implementation
  • Fix name query will defunct when name server dirty

All users should update immediately.

v3.39.1

2 years ago

CHANGELOG

  • Don't output transport object address