[OpenSIPS-Devel] [OpenSIPS/opensips] 1177d9: Fix handling of ECONNRESET.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 5 13:21:47 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1177d975fbe16fd0e20e0a251c9fa1d62aeb1191
      https://github.com/OpenSIPS/opensips/commit/1177d975fbe16fd0e20e0a251c9fa1d62aeb1191
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-02-05 (Mon, 05 Feb 2018)

  Changed paths:
    M modules/proto_hep/proto_hep.c
    M modules/proto_ws/ws_tcp.c
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  Fix handling of ECONNRESET.

Instead of returning -1 (error), better propagate it as an EOF. The meaning (from our perspective) is more or less the same.




More information about the Devel mailing list