Skip to content

0.6.1

Compare
Choose a tag to compare
@ponylang-main ponylang-main released this 02 Apr 18:09
· 17 commits to main since this release

Rename upgrade to upgrade_protocol

To allow changing the TCP handler of a running HTTP connection, Session specifies a method upgrade_protocol, which should be implemented by the concrete classes. The implementation used by the actual HTTP server had an implementation for this feature, but the method was called upgrade. As Session provides a default implementation for upgrade_protocol, this wasn't caught. By renaming the implementation it's now possible to use the new feature to change the handler to a custom handler to handle for example WebSocket connections.

[0.6.1] - 2024-04-02

Fixed

  • Implement the correct method in the server_connection (PR #78)