What’s New

cpp-netlib 0.10

v0.10.1

  • Documentation updates (#182, #265, #194, #233, #255)
  • Fix issue with async server inadvertently stopping from listening when accepting a connection fails. (#172)
  • Allow overriding and ultimately removing defaulted headers from HTTP requests. (#263)
  • Add -Wall to the base rule for GCC builds. (#264)
  • Make the server implementation throw on startup errors. (#166)

v0.10.0

  • Added support for more HTTP status codes (206, 408, 412, 416, 507).
  • Refactored the parser for chunked encoding.
  • Fixed parsing chunked encoding if the response body has <chunk>CLRF<hex>CLRF<data>.
  • Added librt dependency on Linux.
  • Check the callback in the asynchronous client before calling it.
  • Fixed issues #110, #168, #213.

cpp-netlib 0.9

v0.9.5

  • Removed dependency on Boost.Parameter from HTTP client and server.
  • Fixed for Clang error on Twitter example.
  • Added source port to the request (HTTP server).
  • Updated CMake config for MSVC 2010/2012.
  • Now support chunked content encoding in client response parsing.
  • Fixed bug with client not invoking callback when a request fails.

v0.9.4

  • Lots of URI fixes.
  • Fixed async_server’s request handler so it doesn’t make copies of the supplied handler.
  • Fix for issue #73 regarding SSL connections ending in short read errors.
  • Final C++03-only release.

v0.9.3

  • URI, HTTP client and HTTP server are now built as static libraries (libcppnetlib-uri.a, libcppnetlib-client-connections.a and libcppnetlib-server-parsers.a on Linux and cppnetlib-uri.lib, cppnetlib-client-connections.lib and cppnetlib-server-parsers.lib on Windows).
  • Updated URI parser.
  • A new URI builder.
  • URI support for IPv6 RFC 2732.
  • Fixed issues #67, #72, #78, #79, #80, #81, #82, #83.
  • New examples for the HTTP client, including an Atom feed, an RSS feed and a very simple client that uses the Twitter Search API.

v0.9.2

  • Critial bug fixes to v0.9.1.

v0.9.1

  • Introduced macro BOOST_NETWORK_DEFAULT_TAG to allow for programmatically defining the default flag to use throughout the compilation unit.
  • Support for streaming body handlers when performing HTTP client operations. See documentation for HTTP client interface for more information.
  • Numerous bug fixes from v0.9.0.
  • Google, Inc. contributions.

v0.9.0

  • IMPORTANT BREAKING CHANGE: By default all compile-time heavy parser implementations are now compiled to external static libraries. In order to use cpp-netlib in header-only mode, users must define the preprocessor macro BOOST_NETWORK_NO_LIB before including any cpp-netlib header. This breaks code that relied on the version 0.8.x line where the library is strictly header-only.
  • Fix issue #41: Introduce a macro BOOST_NETWORK_HTTP_CLIENT_DEFAULT_TAG which makes the default HTTP client use tags::http_async_8bit_udp_resolve as the tag.
  • Fix issue #40: Write the status line and headers in a single buffer write instead of two writes.
  • More consistent message API for client and server messages (request and response objects).
  • Refactoring of internal implementations to allow better separation of concerns and more manageable coding/documentation.
  • Client and server constructors that support Boost.Parameter named parameters.
  • Client and server constructors now take in an optional reference to a Boost.Asio io_service to use internally.
  • Documentation updates to reflect new APIs.

cpp-netlib 0.8

  • Updates to URI unit tests and documentation.
  • More documentation, covering the HTTP Client and HTTP Server APIs
  • Asynchronous HTTP Server that now supports running request handlers on a different thread pool.
  • An initial thread pool implementation, using Boost.Asio underneath.
  • Adding a ready(...) wrapper to check whether a response object returned by the asynchronous client in 0.7 already has all the parts available.
  • Some attempts at lowering compile time costs.

cpp-netlib 0.7

  • Radical documentation overhaul
  • Asynchronous HTTP client
  • Tag dispatch overhaul, using Boost.MPL
  • HTTP Client Facade refactoring
  • Bug fixes for HTTP 1.1 response parsing
  • Minimized code repetition with some header macro’s
  • Configurable HTTPS support in the library with BOOST_NETWORK_ENABLE_HTTPS

cpp-netlib 0.6

  • Many fixes for MSVC compiler

cpp-netlib 0.5

  • An embeddable HTTP 1.1 server
  • An HTTP 1.1 client upgraded to support HTTPS
  • An updated URI parser implementation
  • An asynchronous HTTP 1.1 client
  • An HTTP 1.1 client that supports streaming function handlers

Table Of Contents

Previous topic

Getting cpp-netlib

Next topic

Getting Started