Change in osmo-iuh[master]: hnbgw: Mark SCTP conn as NODELAY

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Oct 12 14:05:57 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/20576 )


Change subject: hnbgw: Mark SCTP conn as NODELAY
......................................................................

hnbgw: Mark SCTP conn as NODELAY

We don't want messages to be sent being delayed.

Related: OS#4499
Change-Id: I333e7f868e426f7d7ebb328ea2a441d769ea8ebd
---
M src/hnbgw.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/76/20576/1

diff --git a/src/hnbgw.c b/src/hnbgw.c
index 9e0b33b..f18d2b1 100644
--- a/src/hnbgw.c
+++ b/src/hnbgw.c
@@ -617,6 +617,7 @@
 	}
 	osmo_stream_srv_link_set_data(srv, g_hnb_gw);
 	osmo_stream_srv_link_set_proto(srv, IPPROTO_SCTP);
+	osmo_stream_srv_link_set_nodelay(srv, true);
 	osmo_stream_srv_link_set_addr(srv, g_hnb_gw->config.iuh_local_ip);
 	osmo_stream_srv_link_set_port(srv, g_hnb_gw->config.iuh_local_port);
 	osmo_stream_srv_link_set_accept_cb(srv, accept_cb);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/20576
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I333e7f868e426f7d7ebb328ea2a441d769ea8ebd
Gerrit-Change-Number: 20576
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/481c50ec/attachment.htm>


More information about the gerrit-log mailing list