Skip to content

Commit

Permalink
Release 3.10.3 (#8675)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Aug 10, 2024
1 parent 73d17d4 commit ef20502
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 13 deletions.
68 changes: 68 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,74 @@

.. towncrier release notes start
3.10.3 (2024-08-10)
========================

Bug fixes
---------

- Fixed multipart reading when stream buffer splits the boundary over several read() calls -- by :user:`Dreamsorcerer`.


*Related issues and pull requests on GitHub:*
:issue:`8653`.



- Fixed :py:class:`aiohttp.TCPConnector` doing blocking I/O in the event loop to create the ``SSLContext`` -- by :user:`bdraco`.

The blocking I/O would only happen once per verify mode. However, it could cause the event loop to block for a long time if the ``SSLContext`` creation is slow, which is more likely during startup when the disk cache is not yet present.


*Related issues and pull requests on GitHub:*
:issue:`8672`.




Miscellaneous internal changes
------------------------------

- Improved performance of :py:meth:`~aiohttp.ClientWebSocketResponse.receive` and :py:meth:`~aiohttp.web.WebSocketResponse.receive` when there is no timeout. -- by :user:`bdraco`.

The timeout context manager is now avoided when there is no timeout as it accounted for up to 50% of the time spent in the :py:meth:`~aiohttp.ClientWebSocketResponse.receive` and :py:meth:`~aiohttp.web.WebSocketResponse.receive` methods.


*Related issues and pull requests on GitHub:*
:issue:`8660`.



- Improved performance of starting request handlers with Python 3.12+ -- by :user:`bdraco`.


*Related issues and pull requests on GitHub:*
:issue:`8661`.



- Improved performance of HTTP keep-alive checks -- by :user:`bdraco`.

Previously, when processing a request for a keep-alive connection, the keep-alive check would happen every second; the check is now rescheduled if it fires too early instead.


*Related issues and pull requests on GitHub:*
:issue:`8662`.



- Improved performance of generating random WebSocket mask -- by :user:`bdraco`.


*Related issues and pull requests on GitHub:*
:issue:`8667`.




----


3.10.2 (2024-08-08)
===================

Expand Down
1 change: 0 additions & 1 deletion CHANGES/8653.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/8660.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8661.misc.rst

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/8662.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8667.misc.rst

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/8672.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion aiohttp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.10.2"
__version__ = "3.10.3"

from typing import TYPE_CHECKING, Tuple

Expand Down

0 comments on commit ef20502

Please sign in to comment.