Skip to content

Block timeout during IO#write to avoid writing invalid bytes - #83

Merged
repeatedly merged 1 commit into
fluent:masterfrom
ganmacs:block-timeout-during-writing
Aug 20, 2019
Merged

Block timeout during IO#write to avoid writing invalid bytes#83
repeatedly merged 1 commit into
fluent:masterfrom
ganmacs:block-timeout-during-writing

Conversation

@ganmacs

@ganmacs ganmacs commented Aug 20, 2019

Copy link
Copy Markdown
Member

Closes #70

Timeout.timeout can interrupt IO#write even if IO#write does not complete writing data.
This change blocks an interruption from Timeout.timeout during IO#write.

Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
@ganmacs
ganmacs requested a review from repeatedly August 20, 2019 04:02
@repeatedly
repeatedly merged commit a348966 into fluent:master Aug 20, 2019
@repeatedly

Copy link
Copy Markdown
Member

Looks good.

@ganmacs
ganmacs deleted the block-timeout-during-writing branch August 20, 2019 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeout can cause fluentd keep warning

2 participants