From fa9a0ed7042469b47d3537c332afafc12ae76be3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 24 Oct 2012 12:34:03 -0500 Subject: [PATCH] FS-2746 found this assert in a BT on the conf box --- libs/xmlrpc-c/lib/abyss/src/response.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/xmlrpc-c/lib/abyss/src/response.c b/libs/xmlrpc-c/lib/abyss/src/response.c index 235d787ff3..febd5af032 100644 --- a/libs/xmlrpc-c/lib/abyss/src/response.c +++ b/libs/xmlrpc-c/lib/abyss/src/response.c @@ -327,7 +327,12 @@ ResponseWriteStart(TSession * const sessionP) { -----------------------------------------------------------------------------*/ struct _TServer * const srvP = ConnServer(sessionP->connP)->srvP; - assert(!sessionP->responseStarted); + //assert(!sessionP->responseStarted); + + if (sessionP->responseStarted) { + TraceMsg("Abyss client called ResponseWriteStart() more than once\n"); + return FALSE; + } if (sessionP->status == 0) { /* Handler hasn't set status. That's an error */