Attention is currently required from: pespin, fixeria.
daniel has posted comments on this change. (
https://gerrit.osmocom.org/c/libosmo-abis/+/30616 )
Change subject: ipa: Add ipa_client_conn_open2 with connect timeout argument
......................................................................
Patch Set 3:
(5 comments)
File TODO-RELEASE:
https://gerrit.osmocom.org/c/libosmo-abis/+/30616/comment/28f125ce_22d8f945
PS2, Line 10: libosmo-abis API change New function ipa_client_conn_open2
better s/API change/new API/g, it helps me quickly
understanding how to bump the libversion stuff.
Ack
File include/osmocom/abis/ipa.h:
https://gerrit.osmocom.org/c/libosmo-abis/+/30616/comment/7f45fd8d_3f2cb563
PS2, Line 108: int ipa_client_conn_open2(struct ipa_client_conn *link, int timeout);
connect_timeout?
Ack
File src/input/ipa.c:
https://gerrit.osmocom.org/c/libosmo-abis/+/30616/comment/22fbfecf_8efba762
PS2, Line 41: osmo_timer_del(&link->timer);
Here
https://gerrit.osmocom.org/c/libosmo-abis/+/30616/comment/7d366c24_8c16f5c1
PS2, Line 136: osmo_timer_del(&link->timer);
you should delete the timer before returning above,
otherwise you leave it set if the socket returne […]
That's also called in
ipa_conn_client_close() which is called from ipa_connect_failure()
This here is just the happy path deleting the timer on successful connect. Do you want me
to add comments somewhere?
https://gerrit.osmocom.org/c/libosmo-abis/+/30616/comment/631aae25_7dce5149
PS2, Line 246: int ipa_client_conn_open2(struct ipa_client_conn *link, int timeout)
connect_tmeout
Ack
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-abis/+/30616
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Iaeb672a4c981e9769443fb0cd6c8e59cb76307bd
Gerrit-Change-Number: 30616
Gerrit-PatchSet: 3
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 Dec 2022 13:27:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment