<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: 0444626b721fdd3a5400a86883d5668fa8678cd8 (commit)
from: 4020a202d7e5c34cb1912ff5fa6824fde9544355 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments:
fix linger support in esl client lib
<span style="color: #000080; font-weight: bold">diff --git a/libs/esl/src/esl.c b/libs/esl/src/esl.c</span>
<span style="color: #000080; font-weight: bold">index cd103ec..b0bc311 100644</span>
<span style="color: #A00000">--- a/libs/esl/src/esl.c</span>
<span style="color: #00A000">+++ b/libs/esl/src/esl.c</span>
<span style="color: #800080; font-weight: bold">@@ -1066,7 +1066,10 @@ ESL_DECLARE(esl_status_t) esl_recv_event(esl_handle_t *handle, int check_q, esl_</span>
                hval = esl_event_get_header(revent, "content-type");
                if (!esl_safe_strcasecmp(hval, "text/disconnect-notice") && revent->body) {
<span style="color: #A00000">-                        goto fail;</span>
<span style="color: #00A000">+                        const char *dval = esl_event_get_header(revent, "content-disposition");</span>
<span style="color: #00A000">+                        if (esl_strlen_zero(dval) || strcasecmp(dval, "linger")) {</span>
<span style="color: #00A000">+                                goto fail;</span>
<span style="color: #00A000">+                        }</span>
                }
                
                if (revent->body) {
</pre></div>
========================================================================<pre>
Summary of changes:
libs/esl/src/esl.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>