Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.82 KB

CHANGELOG.md

File metadata and controls

24 lines (19 loc) · 1.82 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.3.0] - 2024-09-10

  • Migrated the client and the server to the edge-nal traits
  • Fixed a nasty bug where when multiple HTTP requests were carried over a single TCP connection, in certain cases the server was "eating" into the data of the next HTTP request
  • #20 - Removed a misleading warning log "Connection(IncompleteHeaders)"

[0.2.1] - 2024-02-01

  • Fixed a wrong header name which caused WS client socket upgrade to fail

[0.2.0] - 2024-02-01

  • Remove unnecessary lifetimes when implementing the embedded-svc traits
  • Server: new trait, TaskHandler which has an extra task_id parameter of type usize. This allows the request handling code to take advantage of the fact that - since the number of handlers when running a Server instance is fixed - it can store data related to handlers in a simple static array of the same size as the number of handlers that the server is running
  • Breaking change: structures Server and ServerBuffers united, because Server was actually stateless. Turbofish syntax for specifying max number of HTTP headers and queue size is no longer necessary
  • Breaking change: introduce an optional timeout for HTTP server connections and for the server itself
  • Breaking change: remove the const W: usize parameter from the Server struct, as the accept queue is no longer necessary (using an async mutex now internally)
  • Fix a bug where the Websockets' Sec-Key-Accept header was computed incorrectly
  • Implement Sec-Key-Accept header validation in the HTTP client
  • Breaking change: UpgradeError::SecKeyTooLong removed as it is no longer used