trillium-http-v0.1.2
·
1180 commits
to main
since this release
trillium-http@0.1.2 resolves a bug (#42) in parsing protocol upgrade headers
In particular, Firefox sends "connection: keep-alive, Upgrade" when initiating a websocket connection. Prior to 0.1.2 trillium-http was checking for "connection: Upgrade".
trillium-websockets@0.1.1 includes a fix for the specific header parsing, and in order to eliminate the duplicated check, it has been removed entirely from trillium-http, relying on the handler to determine if a protocol upgrade is an appropriate response to a given request.