trantor

a non-blocking I/O tcp network lib based on c++14/17

OTHER License

Stars
388
trantor -

Published by an-tao over 3 years ago

API changes list

  • Enable multiple log files or streams.

  • Add SSL_CONF_cmd support.

  • Add runOnQuit to the EventLoop class.

Changed

  • Export the FixedBuffer.

  • Added a try_compile block to detect if we need to link against atomic.

trantor - v1.4.1

Published by an-tao over 3 years ago

Changed

  • Add github actions of Windows.

  • Modify the way the log file is opened.

  • Add version/soversion to shared library.

  • Use double instead of long double as the type for timer durations.

Fixed

  • Fix a bug in the TcpConnectionImpl class.

  • Fix constructing Date in a daylight saving timezone.

  • GNU: -Wall -Wextra -Werror; fix related warnings.

  • Add wincrypt.h include for Windows.

trantor - v1.4.0

Published by an-tao over 3 years ago

API changes list

  • Add isUnspecified() to indicate if IP parsing failed.

  • Add exports macro to allow Shared Library with hidden symbols by default.

Changed

  • Modify the AsyncFileLogger destructor.

Fixed

  • Recycle TimerID in the TimerQueue.
trantor - v1.3.0

Published by an-tao over 3 years ago

API changes list

  • Add secondsSinceEpoch to trantor::Date.

  • Rename the 'bzero' method of the FixedBuffer class to 'zeroBuffer'.

  • Add SNI support to TcpClient.

  • Add SSL certificate validation.

Changed

  • Change README.md.
trantor -

Published by an-tao almost 4 years ago

API changes list

  • Add LOG_IF and DLOG like glog lib.

Changed

  • Enable github actions.

  • Add support for VS2019.

  • Modify the LockFreeQueue.

Fixed

  • Fix MinGW error with inet_ntop and inet_pton.

  • Fix a macro regression when using MSVC.

trantor -

Published by an-tao almost 4 years ago

Changed

  • Add Openbsd support.
trantor -

Published by an-tao almost 4 years ago

Changed

  • Disable TLS 1.0 and 1.1 by default.

  • Use explicit lambda capture lists.

Fixed

  • Fix a bug in the Date::fromDbStringLocal() method.
trantor -

Published by an-tao about 4 years ago

API changes list

  • Add the address() method to the TcpServer class.

  • Change some internal methods from public to private in the Channel class.

Changed

  • Update the wepoll library.

  • Add comments in public header files.

trantor -

Published by an-tao about 4 years ago

Fixed

  • Fix a bug when sending big files on Windows.

API change list

  • Add updateEvents() method to the Channel class.
trantor -

Published by an-tao over 4 years ago

Fixed

  • Fix installation errors of shared library.
trantor -

Published by an-tao over 4 years ago

API change list

  • Add the moveToCurrentThread() method to EventLoop.

Changed

  • Optimized LockFreeQueue by Reducing Object Construction.

Fixed

  • Fix a bug when sending a file.
trantor -

Published by an-tao over 4 years ago

API change list

  • Make the Channel class as a part of the public API.
trantor -

Published by an-tao over 4 years ago

API change list

  • Add a method to show if the c-ares library is used

Fixed

  • Fix a bug in SSL mode (#85)

  • Use SOCKET type in windows for x86-windows compilation

  • Use env to find bash in build.sh script to support FreeBSD

trantor -

Published by an-tao over 4 years ago

API Change list

  • Add fromDbStringLocal() method to the Date class

Fixed

  • Fix a race condition of TimingWheel class

  • Fix localhost resolving on windows

trantor -

Published by an-tao over 4 years ago

API Change list

  • Add the send(const void *, size_t) method to the TcpConnection class

  • Add the send(const MsgBufferPtr &) method to TcpConnection class

  • Add stop() method to the TcpServer class

Changed

  • Compile wepoll directly into trantor (Windows)

  • Add CI for Windows

  • Make CMake install files relocatable

  • Modify the Resolver class

trantor -

Published by an-tao over 4 years ago

API change list

  • Add support for a delayed SSL handshake

  • Change a method name of EventLoopThreadPool(getLoopNum() -> size())

Changed

  • Port Trantor to Windows

  • Use SSL_CTX_use_certificate_chain_file instead of SSL_CTX_use_certificate_file()

trantor -

Published by an-tao almost 5 years ago

API change list

  • Add the isSSLConnection() method to the TcpConnection class

Changed

  • Use the std::chrono::steady_clock for timers
trantor -

Published by an-tao almost 5 years ago

  • Modify some code styles
trantor -

Published by an-tao about 5 years ago

API change list

  • Add index() interface to the EventLoop class.

Changed

  • Fix some compilation warnings.

  • Modify the CMakeLists.txt

trantor - v1.0.0-rc4

Published by an-tao about 5 years ago

API change list

  • None

Changed

  • Add TrantorConfig.cmake so that users can use trantor with the find_package(Trantor) command.

Fixed

  • Fix an SSL error (occurs when sending large data via SSL).