Skip to content

v1.1.3

Choose a tag to compare

@oznetmaster oznetmaster released this 12 Jul 08:05

Fixes missing request timeouts and cancellation support in two HTTP code paths:

  • KlapTransport (.NET Framework 4.7.2 fallback): The HttpWebRequest-based fallback used only on net472 previously relied on the runtime default timeout (~100 seconds) instead of the configured DeviceConfiguration.Timeout, and could not be reliably cancelled once a request was in flight. It now sets Timeout/ReadWriteTimeout from the configured value, aborts the request when the CancellationToken fires, and translates the resulting WebException into an OperationCanceledException only when cancellation was actually requested (avoiding misclassifying genuine network failures as cancellation).
  • TpapTransport keepalive: Periodic keepalive requests sent to maintain a warm TPAP session previously used the shared HttpClient's infinite timeout directly, bypassing the configured timeout and cancellation. Keepalive requests now use the same per-call timeout/cancellation wrapper used by other TPAP requests.

See README.md for details (new 'Request Timeouts and Cancellation' section).

Full Changelog: v1.1.2...v1.1.3