Skip to content
Merged
Changes from all commits
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 @@ async def _connect_socket_connect(self, addrs: list[hr.AddrInfo]) -> None:
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): # On FreeBSD this may throw OSError
_LOGGER.debug(
"%s: TCP_QUICKACK not supported",
self.log_name,
Expand Down