Fix EDM timeout
This commit is contained in:
parent
a62ffcee9d
commit
64f4e6d883
|
|
@ -32,6 +32,8 @@ int edm_encap(uint8_t* msg, uint16_t* msg_len, uint16_t msg_buf_len, int its_msg
|
||||||
int rl = itss_0recv_rt(&edm->app_socket, b2, b_len, b1, enc.encoded+1, 1000);
|
int rl = itss_0recv_rt(&edm->app_socket, b2, b_len, b1, enc.encoded+1, 1000);
|
||||||
if (rl == -1) {
|
if (rl == -1) {
|
||||||
rv = 1;
|
rv = 1;
|
||||||
|
log_error("[edm] request extension <TIMEOUT>");
|
||||||
|
pthread_mutex_unlock(&edm->lock);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
pthread_mutex_unlock(&edm->lock);
|
pthread_mutex_unlock(&edm->lock);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue