Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b6f00e89f6c18b4e6dacb3e3589f4d79565a87ef
      
https://github.com/OpenSIPS/opensips/commit/b6f00e89f6c18b4e6dacb3e3589f4d79565a87ef
  Author: Maksym Sobolyev <sobo...@sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  Set POLLRDHUP on Linux when polling rtpproxy's socket to drain
any unclaimed data. This seems to be necessary on TCP sockets
otherwise poll() appears to hang indefinitely if rtpproxy has been
terminated despite timeout being set to 0 (i.e. don't block).

With this flag set the disconnect is properly detected and socket
is re-connected after configured timeout.



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to