Skip to content
Snippets Groups Projects
Commit bd6d5110 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Nice bug.

If you had no attempts on device_open, the cached time was not set.
Then your next operation would instantly time out.
Solution => set time_cache on socket open.
parent 9a27e2a4
Branches
Tags
No related merge requests found
......@@ -146,6 +146,9 @@ eb_status_t eb_socket_open(uint16_t abi_code, const char* port, eb_width_t suppo
return status;
}
/* Update time_cache */
eb_socket_block(socketp, 0);
*result = socketp;
return status;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment