Skip to content

Version 2.11.900

Compare
Choose a tag to compare
@Ousret Ousret released this 21 Oct 07:41
· 55 commits to main since this release
1446db4

2.11.900 (2024-10-21)

  • Added a discrete task for each instantiated ConnectionPool to watch for unsolicited incoming data.
    This improves the fix shipped in v2.10.906 and avoid having to recycle your multiplexed connection in idle moments.
    A new keyword argument is supported in your PoolManager configuration, namely background_watch_delay.
    This parameter takes a int or float as the delay between checks. Set it to None to void this background task.
    Anything lower than 0.01 will be interpreted as None, therefor disabling the discrete watch.
  • Added managed keepalive for HTTP/2 and HTTP/3 over QUIC. A new keyword argument, named keepalive_delay that
    takes a value expressed in seconds for how long urllib3-future should automatically keep the connection alive.
    This is done in direct extension to our "discrete task" mentioned just before. We will send PING frame
    automatically to the remote peer every 60s by default (after idle for 60s to be clear). The window delay for
    sending a PING is configurable via the keepalive_idle_window parameter. Learn more about this in our
    documentation.
  • Fixed evaluation of fp in our LowLevelResponse instance to raise AttributeError when it cannot be
    accessed. This will help with cachecontrol[filecache] way of determining if response was consumed entirely.