[OpenSIPS-Devel] [OpenSIPS/opensips] 16433c: [tcp] add new 64 bit connection id; generate the o...

ionutrazvanionita ionutionita at opensips.org
Wed Mar 15 11:55:15 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16433ce276d99d3c3ccda464ef77a35c37239326
      https://github.com/OpenSIPS/opensips/commit/16433ce276d99d3c3ccda464ef77a35c37239326
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M net/api_proto_net.h
    M net/net_tcp.c
    M net/net_tcp_report.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  [tcp] add new 64 bit connection id; generate the old one randomly

	* there is a new 64 bit connection id consisting of 4 bytes
the old connection id, 3 bytes the start time of the opensips and
1 byte randomly generated;
	* the old connection id is now randomly generated at start,
being then incremented for each connection;


  Commit: 054febfb3ed49eb872d341c59b29dfbb18a87a78
      https://github.com/OpenSIPS/opensips/commit/054febfb3ed49eb872d341c59b29dfbb18a87a78
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M net/proto_tcp/proto_tcp.c
    M net/proto_tcp/tcp_common.h
    M net/trans_trace.c
    M net/trans_trace.h

  Log Message:
  -----------
  tcp trace functions implementation

	* impelemented generic trace functions for all proto modules;
	* defined a global api for all network protocols;
	* defined a global transport id for all transport protocols;
	* used the api in proto_tcp;


  Commit: 1bb0e9dd88e2eb702c44b31a842f1004feb97dea
      https://github.com/OpenSIPS/opensips/commit/1bb0e9dd88e2eb702c44b31a842f1004feb97dea
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M modules/proto_ws/proto_ws.c
    M modules/proto_ws/ws_common.h
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  [proto_ws] net trace api implementation

	* used the net api to implement tracing;
	* used global api and transport id;


  Commit: 8b86cbfae887a16c2d9705ca8150ee29757a8966
      https://github.com/OpenSIPS/opensips/commit/8b86cbfae887a16c2d9705ca8150ee29757a8966
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  [tls] net trace api implementation
   * used the net api to implement tracing;
  * used global api and transport id;


  Commit: d0e3f63d8199cbf56715bacaed4ced87442c9261
      https://github.com/OpenSIPS/opensips/commit/d0e3f63d8199cbf56715bacaed4ced87442c9261
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  [proto_wss] net trace api implementation
   * used the net api to implement tracing;
  * used global api and transport id;


  Commit: 3be4f294e70aed9141158a21792f90d4e1339147
      https://github.com/OpenSIPS/opensips/commit/3be4f294e70aed9141158a21792f90d4e1339147
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h
    M modules/tls_mgm/tls_conn_server.h
    M net/net_tcp_report.c
    M net/proto_tcp/proto_tcp.c
    M net/trans_trace.c
    M net/trans_trace.h

  Log Message:
  -----------
  [tcp tracing] use 64bit conn id as correlation; remove error tracing

	* the new 64bit connection id will be used as correlation
id for tracing;
	* error tracing from proto_tcp has been removed since
we have no connection created and can't correlate those error with
anything;


  Commit: 2919f96332e470a2e363bca94d0e1b9f3495234b
      https://github.com/OpenSIPS/opensips/commit/2919f96332e470a2e363bca94d0e1b9f3495234b
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  [proto_ws(s)] trace web socket connect failures


Compare: https://github.com/OpenSIPS/opensips/compare/7281a4f43fe9...2919f96332e4


More information about the Devel mailing list