[OpenSIPS-Devel] [OpenSIPS/opensips] 66ab6c: bin_interface: use blocking I/O

Liviu Chircu liviu at opensips.org
Fri May 15 10:47:10 CEST 2015


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 66ab6caf29c24a3fbf9bf92efe8395e205264d3e
      https://github.com/OpenSIPS/opensips/commit/66ab6caf29c24a3fbf9bf92efe8395e205264d3e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-05-15 (Fri, 15 May 2015)

  Changed paths:
    M bin_interface.c
    M net/net_udp.c
    M net/net_udp.h
    M net/proto_udp/proto_udp.c

  Log Message:
  -----------
  bin_interface: use blocking I/O

The 2.1 code uses non-blocking UDP socket init primitives.
This specifically made the binary interface workers do a lot of busy-waiting

Reported by Rik Broers
Fixes #502

(cherry picked from commit df2c030d1408a7d886cf13e3772af81f6deae9a7)




More information about the Devel mailing list