Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 946030d1b5087919aa2a33b848507ff1548141d8
      
https://github.com/OpenSIPS/opensips/commit/946030d1b5087919aa2a33b848507ff1548141d8
  Author: Bogdan-Andrei Iancu <[email protected]>
  Date:   2025-12-16 (Tue, 16 Dec 2025)

  Changed paths:
    M modules/mi_datagram/datagram_fnc.c

  Log Message:
  -----------
  [mi_datagram] turn the RX sockets to non-blocking

As we have multiple procs reading from the same datagram sockets, we may end up 
with a mixing between the procs woken up by OS and the procs doing the reading. 
So some procs (even if were woken up) may have nothing to read.
To be resilient, better do non-blocking reading and igonre the EAGAIN or 
EWOULDBLOCK.

(cherry picked from commit 12e705e296470872899e848f030058e8bc052d11)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to