Skip to content

Commit

Permalink
Additional fix for skupperproject#1480: When the PN_RAW_CONNECTION_CO…
Browse files Browse the repository at this point in the history
…NNECTED event is received on the connector side, call qd_set_vflow_netaddr_string
  • Loading branch information
ganeshmurthy committed Apr 25, 2024
1 parent 21b7ba0 commit bdfb163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adaptors/tcp/tcp_adaptor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1918,6 +1918,7 @@ static void on_connection_event_CSIDE_IO(pn_event_t *e, qd_server_t *qd_server,

if (etype == PN_RAW_CONNECTION_CONNECTED) {
// it is safe to call pn_raw_connection_wake() now
qd_set_vflow_netaddr_string(conn->common.vflow, conn->raw_conn, conn->listener_side);
assert(!IS_ATOMIC_FLAG_SET(&conn->raw_opened));
SET_ATOMIC_FLAG(&conn->raw_opened);
} else if (etype == PN_RAW_CONNECTION_DISCONNECTED) {
Expand Down

0 comments on commit bdfb163

Please sign in to comment.