Please open a jira for this.

On Wed, Jun 23, 2010 at 10:37 AM, Helmut Kuper <helmut.kuper@ewetel.de> wrote:
Hi,

I found the problem. Here is my patch:


Index: src/esl_event.c
===================================================================
--- src/esl_event.c     (Revision 17782)
+++ src/esl_event.c     (Arbeitskopie)
@@ -548,7 +548,7 @@
               if (blen && !clen) {
                       snprintf(buf + len, dlen - len, "Content-Length:
%d\n\n%s", (int)strlen(event->body), event->body);
               } else {
-                       snprintf(buf + len, dlen - len, "\n");
+                       snprintf(buf + len, dlen - len, "\n%s",
event->body);
               }
       } else {
               snprintf(buf + len, dlen - len, "\n");


Please review this to avoid side effects.


regards
Helmut



On 23.06.2010 15:25, Helmut Kuper wrote:
> Hello
>
> I found that when I sent a non existent api command via bgapi. The
> corresponding background_job event isn't complete:
>







--
-Rupa