This repository was archived by the owner on Apr 6, 2019. It is now read-only.
Releases: Cylix/tacopie
Releases · Cylix/tacopie
v3.2.0
Tag
3.2.0
Date
November 13th, 2017
Changes
- fork support: allow set_default_io_service to take nullptr. In order to safely fork, call set_default_io_service(nullptr) to make sure the io_service destructor is called and all underlying threads joined.
- fix: timeout for connection not working due to invalid param to select, now working
- improvement: make sure socket is in blocking mode before connection (#32) as it differs from one OS to another
- improvement: check for non-blocking connect errors with getsockopt to avoid connect reporting a successful connection followed by a call to disconnection handler (now connect report a failed connection as expected).
Additions
- ipv6 support (connect, bind and accept operations, on tcp_server and tcp_client)
Removals
None
v3.1.0
Tag
3.1.0
Date
November 2nd, 2017
Changes
- Improvement: For windows, if port is 0, use the default AF_INET windows API behavior (bind to first port available). Behavior on unix is unchanged (is unix socket).
- CMake fix: Remove explicit STATIC in add_library call so dynamic libraries can be built with -DBUILD_SHARED_LIBS=ON
Additions
- Visual Studio C++ solution
Removals
None
v3.0.1
v3.0.0
Tag
3.0.0
Date
September 20th, 2017
Changes
- clear pending read and write requests on disconnection
- io_service access
- ability to modify number of io service worker at runtime
Additions
- doxygen documentation
- connection timeout if requested (for
tcp_socketandtcp_client) - ability to change the number of
io_serviceworkers (orthread_poolthreads) at runtime
Removals
None.
v2.4.4
v2.4.3
Tag
2.4.3
Date
June 19th, 2017
Changes
- Remove unnecessary use of self-pipe to try to fix high-CPU usage issued reported on this repository and on cpp_redis repository.
Additions
- CMake compilation flag
SELECT_TIMEOUTthat can be used to define the select timeout in nano seconds. By default, timeout is set to NULL (unlimited).
Removals
None.
v2.4.2
Tag
2.4.2
Date
June 11th, 2017
Changes
- Compilation Fix
- change behavior of on_new_connection_handler. Returning true means connection is handled by tcp_client wrapper and nothing will be done by tcp_server. Returning false means connection is handled by tcp_server, will be stored in an internal list and tcp_client disconection_handler overriden.
Additions
get_host&get_portmethods fortcp_client
Removals
None.
v2.4.1
v2.4.0
Tag
2.4.0
Date
April 9th, 2017
Changes
None.
Additions
- Provide support for Unix socket. Simply pass in 0 as the port when building a
tcp_socket,tcp_clientortcp_server. Then, the host will automatically be treated as the path to a Unix socket instead of a real host.
Removals
None.
v2.3.0
Tag
2.3.0
Date
April 9th, 2017
Changes
None.
Additions
- TCP server now supports
wait_for_removalas a parameter for.stop(). Please refer to the documentation for more information.
Removals
None.