<p>A per-TCP connection <code>lifetime</code> parameter is needed, to add a new functionnality in the tcpops module: the ability to dynamically modify the connection lifetime on a connection (e.g. raise the lifetime of a successfully authenticated connection).</p>

<p>This requires modifications in the core:</p>

<ul class="task-list">
<li>adding a new field in the <code>tcp_connection</code> structure</li>
<li>changing the way the <code>timeout</code> value is updated, using this new <code>lifetime</code> member instead of the core conf</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/95'>https://github.com/kamailio/kamailio/pull/95</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>core: add support for per-TCP connection lifetime</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/95/files#diff-0">core_cmd.c</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/95/files#diff-1">tcp_conn.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/95/files#diff-2">tcp_main.c</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/95.patch'>https://github.com/kamailio/kamailio/pull/95.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/95.diff'>https://github.com/kamailio/kamailio/pull/95.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/95">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZTv5aQXXN7gkl2YD6GBT3M90wf7uks5nthrrgaJpZM4Di1WA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/95"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>