Skip to content

Fix appveyor ci for round3#2862

Merged
cosmo0920 merged 3 commits into
masterfrom
fix-appveyor-ci-for-round3
Mar 6, 2020
Merged

Fix appveyor ci for round3#2862
cosmo0920 merged 3 commits into
masterfrom
fix-appveyor-ci-for-round3

Conversation

@cosmo0920

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:

Related to #2854.

  • Omit deleting ephemeral buffer file due to permission error.
    • Windows does not permit removing files which are used in another process even if administrator.
  • Fix linger_timeout handling on Windows

What this PR does / why we need it:
We should take care of AppVeyor CI result.

Docs Changes:
No needed.

Release Note:

None.

This is because Windows does not permit to remove files which are used in another process.

Signed-off-by: Hiroshi Hatake <hatake@clear-code.com>
@cosmo0920 cosmo0920 requested a review from ganmacs March 5, 2020 08:14
In Winsock, linger related struct's menber types
are not `int` but `u_short` (unsigned short).

`linger_timeout` also should be set up when linger_timeout > 0.

Signed-off-by: Hiroshi Hatake <hatake@clear-code.com>
@cosmo0920 cosmo0920 force-pushed the fix-appveyor-ci-for-round3 branch from 14d9485 to 7d16531 Compare March 5, 2020 08:23
@cosmo0920 cosmo0920 self-assigned this Mar 6, 2020
Comment thread lib/fluent/plugin_helper/socket_option.rb

@ganmacs ganmacs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with a comment.

Signed-off-by: Hiroshi Hatake <hatake@clear-code.com>
@cosmo0920 cosmo0920 force-pushed the fix-appveyor-ci-for-round3 branch from 73a2322 to b55e610 Compare March 6, 2020 05:08
@cosmo0920

Copy link
Copy Markdown
Contributor Author

I'll merge this PR after finishing CIs.

@cosmo0920 cosmo0920 merged commit 47be96e into master Mar 6, 2020
@cosmo0920 cosmo0920 deleted the fix-appveyor-ci-for-round3 branch March 6, 2020 07:05
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.

2 participants