Releases: hummingbird-project/hummingbird-core
Releases · hummingbird-project/hummingbird-core
v0.6.0
HBHTTPResponder.respondnow includes anonCompletefunction as a parameter to be called which should be called with the response. This is instead of theEventLoopFuture. This change was implemented as HummingBirdCore should not assume we are running an async server.- Added
HBHTTPServer.Configuration.backlog - Default
HBHTTPServer.Configuration.withPipeliningAssistanceto true HBRequestBodyStreamer.dropnow returns an EventLoopFuture for when all the request buffers have been streamed.
v0.5.0
HBRequest.body.streamis now an optional. If no body is supplied in the request it isnil
v0.4.4
Fix HTTP2 connections
v0.4.3
- Add support for dropping streamed request bodies. Once the response for a request has been fully written the request body is dropped to ensure back pressure doesn't hold up the request streamer.
v0.4.2
Add HBHTTPServer.getChildHandlers()
v0.4.1
- Require all child channel handlers to be removable
v0.4.0
- HBRequestBodyStreamer.consume returns one ByteBuffer as a time instead of an array
- If response streamer receives an error send an
.end - Fixed some issues with request streamer by creating promise for each ByteBuffer, instead of just the one for the whole array
- Added back pressure on request streamer based on how much data is inflight.
- Added HBRequestBodyStreamer.consumeAll(on:_) which takes a closure to process each
ByteBuffer - Close channel when we receive a quiesce event
- Channel initializer is supplied with the full array of child handlers instead of just the responder
v0.3.0
- Added
HBHTTPResponseErrorprotocol for Errors that can be converted to anHBHTTPResponse
v0.2.0
Remove public from HBHTTPServerHandler, HBHTTPDecodeHandler and HBHTTPEncodeHandler
v0.1.1
- output errors to log