summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2020-08-24 23:44:47 +0000
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commitf374831ed49803d092e3024f0d86090b4e44eb55 (patch)
tree3d904290ec1551023e10b264f82859f7c5b2a99a /AUTHORS
parent807528d2b4d319953866359e1ee7d60691ea4b33 (diff)
downloadDLT-daemon-f374831ed49803d092e3024f0d86090b4e44eb55.tar.gz
libdlt: Flush all data in atexit_handler
Current implementation had two issues: - Remaining data in startup_buffer wasn't able to be sent to daemon even dlt_user.timeout_at_exit_handler was set to more than 0 - Socket could be closed before all the data was sent to daemon To solve this: - dlt_unregister_app_flush_buffered_logs() won't clean appIDs if any data is remaining in startup_buffer. atexit_handler will be in charge of cleaning them - Socket won't be closed if data wasn't sent due to errno EAGAIN or EWOULDBLOCK. It retries until execution count reaches to maximum DLT_USER_MAX_RETRY_COUNT (1000 as default) Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions