Tue May 12 11:08:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: do not free transaction in reliable_timeout() if caused by failure to send final response Ignore-this: 8e32f83925b6f2a3629afbb8b20ba693 Issue detected by Coverity. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13322 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f05ec55879
commit
ca2c46d4bf
|
@ -1 +1 @@
|
|||
Fri May 15 10:46:01 CDT 2009
|
||||
Fri May 15 10:47:06 CDT 2009
|
||||
|
|
|
@ -11007,10 +11007,12 @@ void reliable_timeout(nta_incoming_t *irq, int timeout)
|
|||
|
||||
irq->irq_in_callback = 0;
|
||||
|
||||
if (!timeout)
|
||||
return;
|
||||
|
||||
if (irq->irq_completed && irq->irq_destroyed)
|
||||
incoming_free(irq), irq = NULL;
|
||||
|
||||
if (timeout && irq && irq->irq_status < 200)
|
||||
else if (irq->irq_status < 200)
|
||||
nta_incoming_treply(irq, 503, "Reliable Response Time-Out", TAG_END());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue