Evpp Versions Save

A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.

v0.7.0

6 years ago

Features:

  • Rename http::Context::FindClientIP to http::Context::FindClientIPFromURI
  • Add http::Context::FindQueryFromURI and http::Context::GetQuery. Thanks @sumory @sotex
  • Improve the performance of gettimeofday on windows. Thanks @yuangu

Fix bugs:

  • Fix EventLoop::watcher_ notify failed after a fork() #56

v0.6.1

6 years ago

Fix evmc prefixmultiget error handling bug 0e2fd269ece9b1336bd2c1380dde6b2aec0cc9ee Fix issue #49. Add evpp/httpc/*.h to packages

v0.6.0

6 years ago

Bug fix:

  • recv prefix multiget error
  • httpc::Request does not retry when evhttp_make_request failed #48
  • evnsq Client::HandleLoopkupdHTTPResponse coredump when response is null #48

v0.5.0

6 years ago

Features:

  • Add IPv6 support for sock::ParseFromIPPort()
  • Add sock::SplitHostPort
  • Add http::Context::set_response_http_code(int code)
  • Add retry mechanism for http request
  • Change windows compile tool chain and libraries' dependence to vcpkg
  • Build a vcpkg package. See https://github.com/Microsoft/vcpkg/pull/1177

Refactors:

  • Remove evpp/exp.h and evpp/evpp_export.h
  • Remove evnsq/exp.h, evnsq/evpp_export.h and evmc/exp.h
  • Rename evpp/libevent_headers.h to evpp/libevent.h
  • Rename evpp/libevent_compact.cc to evpp/libevent.cc
  • Rename evpp/log_config.h to evpp/logging.h
  • Extract windows relative codes to evpp/windows_port.h

Bug fix: #43 Fixed TCPClient crashed when DNS resolving timeout

v0.4.0

7 years ago

Refactor:

  • Rename event_loop() to loop() of EventLoopThread/TCPClient/http::Service
  • Rename libevent_watcher.{h,cc} to event_watcher.{h.cc}
  • Rename evnsq::ConnPtr to evnsq::NSQConnPtr

Bug fix:

  • Fix unit test failed problem. If the tcp_client_thread does not start,we do TCPClient::Connect, that will cause race-condition problem #25
  • Fix file descriptor leak bug #23
  • Fix TCPServer::Stop coredump #26
  • Fix HTTP Server::Stop coredump #27 #28 #29 #36
  • Fix TCPServer::HandleNewConn assert error and fix a race condition problem of TCPServer::Start #30
  • Fix DNSResolver will invoke callback twice when it is timeout #32
  • Fix evnsq Client::IsReady() implement wrong #21

v0.3.2

7 years ago

Features:

  • Add Buffer::EnsureWritableBytes

Bug fix:

  • #19 Fix Segmentation fault in DNS resolver SetCancelCallback bug
  • Fix Buffer::ToText '\0' bug

v0.3.1

7 years ago

Features:

  • #3 evnsq supports AUTH
  • Add boost::lockfree::queue compile option and build a library linked with boost.

Bug fix:

  • #17 TCPClient will crash when we do 'Disconnect' and destruct the object immediately
  • #18 The delay closing feature of an incoming TCPConn will make memory leak

v0.3.0

7 years ago

Features:

  • #3 Remove Timestamp parameter from MessageCallback

Bug fix:

  • #5 Fix EventLoop::QueueInLoop bug
  • #7 Fix Crush when TCPClient connect failed bug
  • #9 Fix Connector::Cancel crush
  • #10 Fix Connector was not released bug
  • #11 Unit test failed testTCPClientDisconnectImmediately
  • #12 testDNSResolver may hang there sometimes
  • #13 Wrong usage of struct evhttp_request in trace log
  • #14 DNSResolver::OnTimeout do not clear the timer
  • #15 testHTTPServer1 may hang there sometimes

v0.2.4

7 years ago
  1. Optimized the LOG_TRACE/LOG_DEBUG/LOG_INFO's performance on release mode.
  2. Add more benchmark test code.