[OpenSIPS-Devel] [OpenSIPS/opensips] d3aaf4: Re-try the writing on EAGAIN.

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Aug 27 17:02:22 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3aaf44ccca7eadd0a58914ec54b1ddf17972c46
      https://github.com/OpenSIPS/opensips/commit/d3aaf44ccca7eadd0a58914ec54b1ddf17972c46
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-08-27 (Thu, 27 Aug 2015)

  Changed paths:
    M net/proto_udp/proto_udp.c

  Log Message:
  -----------
  Re-try the writing on EAGAIN.

As the UDP sockets were moved to non blocking, sendto() may generate EAGAIN if the prev write operation was not yet completed by the stack.




More information about the Devel mailing list