Skip to content

Commit 2ea6551

Browse files
committed
Clarify enable-push peer role
1 parent b9520e8 commit 2ea6551

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev
2727
**Bugfixes**
2828

2929
- Fix to allow sending 0 bytes on a stream even if the flow control window is negative.
30-
- Reject non-zero ``SETTINGS_ENABLE_PUSH`` values received from clients.
30+
- Reject non-zero ``SETTINGS_ENABLE_PUSH`` values received from servers.
3131

3232
4.3.0 (2025-08-23)
3333
------------------

src/h2/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def validate_received_setting(self, setting: SettingCodes | int, value: int) ->
294294
Validate a setting received from the peer that owns this Settings
295295
object.
296296
297-
Clients may advertise ``ENABLE_PUSH`` only as ``0`` in received
297+
Servers may advertise ``ENABLE_PUSH`` only as ``0`` in received
298298
SETTINGS frames.
299299
"""
300300
invalid = _validate_setting(setting, value, client=self._client)

0 commit comments

Comments
 (0)