brynet

A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet.

MIT License

Stars
1K
Committers
13

Bot releases are visible (Hide)

brynet - v1.12.2 Latest Release

Published by IronsDu almost 2 years ago

brynet - v1.12.1

Published by IronsDu about 2 years ago

https://github.com/IronsDu/brynet/pull/125: add #pragma once for SendableMsg.hpp

brynet - v1.12.0

Published by IronsDu over 2 years ago

  1. fix memory leak., set the ITcpService interface's destroy function is virtual
  2. #123 support HTTP HEAD method
brynet - v1.11.2

Published by IronsDu over 2 years ago

  1. https://github.com/IronsDu/brynet/pull/115:Fix HTTP keep-alive bug
  2. https://github.com/IronsDu/brynet/pull/117: In postDisConnect, use runFunctorAfterLoop for call procCloseInLoop,avoid user call postDisConnect in message handler callback, because brynet will use receive buffer after this callback.
  3. https://github.com/IronsDu/brynet/pull/119: support specified event loop thread to processing IO, user can use this for single logic thread.
brynet - fix bug of used after move

Published by IronsDu over 3 years ago

add clang-format

brynet - refactor wrapper's chain call style

Published by IronsDu over 3 years ago

  1. remove wrapper's Option pattern
brynet -

Published by IronsDu almost 4 years ago

  1. refactor msg type for send, we can specify control memory manager.
  2. set high water callback
  3. modify data callback: use packet reader , instead of (const char* buffer, size_t len)
  4. shrink tcp connection's receive buffer
brynet - Enhance Http Benchmark

Published by IronsDu almost 4 years ago

fix bug of keep-alive
fix bug of parse http headers.

brynet - set some unnecessary function be private

Published by IronsDu over 4 years ago

1、TcpConnection::onEventLoop
2、TcpConnection::initAcceptSSL
3、HttpSession::setClosedCallback and so on.

brynet - Rename some PTR to Ptr

Published by IronsDu over 4 years ago

brynet - header only

Published by IronsDu almost 5 years ago

brynet - add wrapper for simplify create service and connect.

Published by IronsDu over 5 years ago

brynet -

Published by IronsDu over 5 years ago

brynet - rename some code

Published by IronsDu over 5 years ago

brynet -

Published by IronsDu almost 6 years ago

brynet - Can used for production

Published by IronsDu almost 7 years ago

Compatibility

  • Visual C++ 2013+ on Windows (32/64-bit)
  • GCC 4.8+ on Linux (32/64-bit)
Package Rankings
Top 17.88% on Spack.io
Badges
Extracted from project README
996.icu LICENSE Platform build-and-test
Related Projects