<p>Max <strong>uploaded patch set #7</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/12845">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Deprecate osmo_stream_cli_open2()<br><br>This supposed to be variant of osmo_stream_cli_open() with explicit<br>control over reconnection logic but it's plain broken: doxygen docs<br>contradict the code, actual reconnection logic is affected by timeout<br>parameter directly which is set in different function.<br><br>It seems like we haven't been affected by this so far because we always<br>use it in auto-reconnection mode which is triggered by default due to<br>positive reconnection timeout value (5 sec) automatically used in the<br>absense of explicitly set timeout.<br><br>Looking at commit history, this function already been source of<br>confusion in the past. Instead of trying to fix this mess, let's just<br>deprecate it entirely and properly document use of<br>osmo_stream_cli_set_reconnect_timeout() to control reconnection logic.<br><br>The only known user is libosmo-sccp which won't use it as of<br>0a93a683f3cb8e5977eb4a666ab207db6e7d7af9 commit.<br><br>Change-Id: Id988ed0274b363db049f59cbf6a193727c8c3c8a<br>---<br>M include/osmocom/netif/stream.h<br>M src/stream.c<br>M tests/stream/stream_test.c<br>3 files changed, 120 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/45/12845/7</pre><p>To view, visit <a href="https://gerrit.osmocom.org/12845">change 12845</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/12845"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-netif </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Id988ed0274b363db049f59cbf6a193727c8c3c8a </div>
<div style="display:none"> Gerrit-Change-Number: 12845 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>