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

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


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4586ffceb56bcdd3b075dd9660b83537fe32313a
      https://github.com/OpenSIPS/opensips/commit/4586ffceb56bcdd3b075dd9660b83537fe32313a
  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.

(cherry picked from commit d3aaf44ccca7eadd0a58914ec54b1ddf17972c46)




More information about the Devel mailing list