Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aioesphomeapi/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
try:
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_QUICKACK, 1) # type: ignore[attr-defined, unused-ignore]
except AttributeError:
except (AttributeError, OSError):

Check warning on line 361 in aioesphomeapi/connection.py

View check run for this annotation

Codecov / codecov/patch

aioesphomeapi/connection.py#L361

Added line #L361 was not covered by tests
_LOGGER.debug(
"%s: TCP_QUICKACK not supported",
self.log_name,
Expand Down