<p>break large function</p>


<h4>Pre-Submission Checklist</h4>



<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commit message has the format required by CONTRIBUTING guide</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Each component has a single commit (if not, squash them into one commit)</li>
</ul>
<h4>Type Of Change</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> refactoring (non-breaking change which adds new functionality)</li>
</ul>
<h4>Description</h4>
<p>This large function <code>ds_manage_routes</code> is quite large and the intent of every code block is becoming hard to read and assess.</p>
<p>In order to avoid mixing refactoring with behavioral modifications I thought it was best to make a separate MR.</p>

<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li>dispatcher: ds_manage_routes refactoring</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/2499/files#diff-b9d00a2976c1b1c5d3535a5ae0e24047">src/modules/dispatcher/dispatch.c</a>
    (111)
  </li>
</ul>

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

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2499">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMZA6EMQ4BPEMPPERTSJSMRRANCNFSM4SHUZWDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMCXO7XB23JBPOHMMDSJSMRRA5CNFSM4SHUZWD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KVX526Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2499",
"url": "https://github.com/kamailio/kamailio/pull/2499",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>