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

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


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




More information about the Devel mailing list