Fix EDM timeout

This commit is contained in:
emanuel 2023-05-11 11:42:45 +01:00
parent a62ffcee9d
commit 64f4e6d883
1 changed files with 2 additions and 0 deletions

View File

@ -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);
if (rl == -1) {
rv = 1;
log_error("[edm] request extension <TIMEOUT>");
pthread_mutex_unlock(&edm->lock);
goto cleanup;
}
pthread_mutex_unlock(&edm->lock);