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.
- Fixed a wrong header name which caused WS client socket upgrade to fail
- Remove unnecessary lifetimes when implementing the
embedded-svc
traits - Server: new trait,
TaskHandler
which has an extratask_id
parameter of typeusize
. This allows the request handling code to take advantage of the fact that - since the number of handlers when running aServer
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
andServerBuffers
united, becauseServer
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 theServer
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