Fix IMSDroid bug #420
This commit is contained in:
parent
a772231357
commit
4c962672ce
|
@ -636,7 +636,7 @@ void *tnet_transport_mainthread(void *param)
|
||||||
void* buffer = tsk_null;
|
void* buffer = tsk_null;
|
||||||
tnet_transport_event_t* e;
|
tnet_transport_event_t* e;
|
||||||
|
|
||||||
TSK_DEBUG_INFO("NETWORK EVENT FOR SERVER [%s] -- TNET_POLLIN(%d)", transport->description, active_socket->fd);
|
// TSK_DEBUG_INFO("NETWORK EVENT FOR SERVER [%s] -- TNET_POLLIN(%d)", transport->description, active_socket->fd);
|
||||||
|
|
||||||
/* check whether the socket is paused or not */
|
/* check whether the socket is paused or not */
|
||||||
if(active_socket->paused){
|
if(active_socket->paused){
|
||||||
|
|
|
@ -556,7 +556,10 @@ int tsip_dialog_layer_handle_incoming_msg(const tsip_dialog_layer_t *self, tsip_
|
||||||
ret = tsip_transac_start(transac, message);
|
ret = tsip_transac_start(transac, message);
|
||||||
tsk_object_unref(transac);
|
tsk_object_unref(transac);
|
||||||
}
|
}
|
||||||
else if(TSIP_MESSAGE_IS_REQUEST(message)){ /* No transaction match for the SIP request */
|
/* - No transaction match for the SIP request
|
||||||
|
- ACK do not expect any response (http://code.google.com/p/imsdroid/issues/detail?id=420)
|
||||||
|
*/
|
||||||
|
else if(TSIP_MESSAGE_IS_REQUEST(message) && !TSIP_REQUEST_IS_ACK(message)){
|
||||||
const tsip_transport_layer_t *layer;
|
const tsip_transport_layer_t *layer;
|
||||||
tsip_response_t* response = tsk_null;
|
tsip_response_t* response = tsk_null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue