Skip to content

0.6.0

Compare
Choose a tag to compare
@Tectu Tectu released this 29 Oct 14:09
· 95 commits to main since this release

HTTP

  • Core
    • Fix incorrect return type of http::sessions::session_storage::storage_get() d537c1f
  • Client
    • Allow setting body size limit. 1df756b
  • Server
    • Add missing check in server::routing_context::init_tls(). 72a03e1
    • Connections now feature their own logger instance to allow per-connection logging (optional). 42e711c, b41e029

Websocket

  • Add websocket::stream::is_open(). 90156ab
  • Create alias for error type. b133d1e

TCP

Introduce new tcp namespace and use it accordingly. This is in preparation for providing features such as rate limiting in the future. 637eea2, 48ffbc0

Forms

Form handling (from the html namespace) has been reworked:

  • Decouple parsed data from the form itself. There are now dedicated types to represent parsed form data (form_data and form_field_data).
  • form::parse() is now static.
  • Honor Content-Type field when parsing form data from a request.
    These changes together allow to parse form data from an HTTP request without creating a form.

Miscellaneous

  • Fix a silly off-by-one mistake when pre-allocating memory for the I/O worker threads in the controller class. d7951a8
  • Officially support boost 1.80.0.
  • Lots code quality improvements and minor fixes.
  • Various example improvements.

License

The license of this library has been changed from MIT to BSD. This should be fully transparent for any current users of this library.