Skip to content

1.6.1

Latest

Choose a tag to compare

@Leggin Leggin released this 08 Nov 15:13

What's Changed

  • Reuse one connection for requests to the hub by @Leggin in #149

Hub now sends all requests through one requests.Session, so consecutive calls no longer do a new TLS handshake with the hub each time. A connection idle for more than 3 s is not reused, because the hub closes idle connections after about 5 s and a request sent at that moment could fail or hang. A GET, PATCH or DELETE that still hits a dropped connection is sent once more on a new connection. POST is not resent. Public methods and return values are unchanged.

Full Changelog: v1.6.0...v1.6.1