summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2018-06-28 11:15:47 +0900
committerChristoph Lipka <clipka@users.noreply.github.com>2018-12-21 10:16:46 +0100
commit037d33d0c1bc83ca79812340ea9120d13fd1c705 (patch)
treebf51eabc6ae30e17ab650dbc4ecfb9127b4da6d8 /include
parent88b6b69f313f35267fb0bde533f8e1d2a742f771 (diff)
downloadDLT-daemon-037d33d0c1bc83ca79812340ea9120d13fd1c705.tar.gz
lib: socket: Flush all data before closing socket
Sometimes socket will be closed even not all of the data is flushed to daemon. So before closing, following will be handled: 1. Use shutdown() to shut down further transmissions 2. Subsequent read() to resend_buffer Also socket fd is reset in child fork handler since the socket itself will not be duplicated in the child process. Solves JIRA: SWGIII-28702 Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions