<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23020">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">HTTP_Adapter: Make timeout configurable<br><br>Change-Id: Icdcba367dc12c0f20a733572da250d7db22c03ee<br>---<br>M library/HTTP_Adapter.ttcn<br>1 file changed, 3 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/HTTP_Adapter.ttcn b/library/HTTP_Adapter.ttcn</span><br><span>index a9d0d83..03de1f3 100644</span><br><span>--- a/library/HTTP_Adapter.ttcn</span><br><span>+++ b/library/HTTP_Adapter.ttcn</span><br><span>@@ -73,10 +73,11 @@</span><br><span> </span><br><span> /* run a HTTP request and return the response */</span><br><span> function f_http_transact(charstring url, charstring method := "GET",</span><br><span style="color: hsl(0, 100%, 40%);">-                     charstring body := "", template HTTPMessage exp := tr_HTTP_Resp2xx)</span><br><span style="color: hsl(120, 100%, 40%);">+                         charstring body := "", template HTTPMessage exp := tr_HTTP_Resp2xx,</span><br><span style="color: hsl(120, 100%, 40%);">+                         float tout := 2.0)</span><br><span> runs on http_CT return HTTPMessage {</span><br><span>  var HTTPMessage resp;</span><br><span style="color: hsl(0, 100%, 40%);">-   timer T := 2.0;</span><br><span style="color: hsl(120, 100%, 40%);">+       timer T := tout;</span><br><span> </span><br><span>         HTTP.send(ts_HTTP_Connect(g_http_host, g_http_port));</span><br><span>        //HTTP.receive(Connect_result:?);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23020">change 23020</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23020"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Icdcba367dc12c0f20a733572da250d7db22c03ee </div>
<div style="display:none"> Gerrit-Change-Number: 23020 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>