This series attempts to improve behavior of unixctl clients and servers
when AF_UNIX sockets are used:

- python servers now use a larger - 64 - backlog size to reflect the
  size of AF_UNIX unixctl C servers. (Also bumped the size for AF_INET C
  servers.)

- EAGAIN / EINPROGRESS from socket() are handled by looping until
  success.

- conversion from EAGAIN to EPROTO is removed.

---
v1: initial version
v2: fixed commit message for one of patches

Ihar Hrachyshka (4):
  Use listen backlog = 64 for all connections
  Don't convert EAGAIN to EPROTO for unix sockets
  Loop to connect unix socket until success
  Handle EAGAIN on unix socket connect() failure

 lib/socket-util-unix.c | 17 ++++++++++-------
 lib/socket-util.c      |  2 +-
 python/ovs/stream.py   |  2 +-
 3 files changed, 12 insertions(+), 9 deletions(-)

--
2.41.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to