Change in osmo-ttcn3-hacks[master]: CTRL_Adapter: Keep server alive after first client disconnects

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
Thu Jan 28 19:16:00 UTC 2021


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


Change subject: CTRL_Adapter: Keep server alive after first client disconnects
......................................................................

CTRL_Adapter: Keep server alive after first client disconnects

It can be expected from CTRL clients to connect and disconnect several
times as several commands are sent, so let's by default enable it (only
user of this CTRL servcer in PCU_Tests needs it).

Change-Id: Idddc27671d1b823dfbc62bcf7be673e51b574d63
---
M library/Osmocom_CTRL_Adapter.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/21/22521/1

diff --git a/library/Osmocom_CTRL_Adapter.ttcn b/library/Osmocom_CTRL_Adapter.ttcn
index e1fba1b..adc2887 100644
--- a/library/Osmocom_CTRL_Adapter.ttcn
+++ b/library/Osmocom_CTRL_Adapter.ttcn
@@ -81,7 +81,8 @@
 	map(vc_CTRL_IPA:IPA_PORT, system:IPA_CODEC_PT);
 	connect(vc_CTRL_IPA:IPA_CTRL_PORT, self:IPA_CTRL);
 
-	vc_CTRL_IPA.start(IPA_Emulation.main_server(listen_host, listen_port, false));
+	vc_CTRL_IPA.start(IPA_Emulation.main_server(listen_host, listen_port, false,
+			  server_stop_on_ipa_ev_down := false));
 }
 
 function f_ipa_ctrl_stop() runs on CTRL_Adapter_CT {

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Idddc27671d1b823dfbc62bcf7be673e51b574d63
Gerrit-Change-Number: 22521
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/20210128/0613f5dc/attachment.htm>


More information about the gerrit-log mailing list