Skip to content

socket: return from loop after EOF - #4805

Merged
thaJeztah merged 1 commit into
docker:masterfrom
tonistiigi:socket-eof-return
Jan 20, 2024
Merged

socket: return from loop after EOF#4805
thaJeztah merged 1 commit into
docker:masterfrom
tonistiigi:socket-eof-return

Conversation

@tonistiigi

@tonistiigitonistiigi commented Jan 20, 2024

Copy link
Copy Markdown
Member

After a plugin receives the termination request via socket and closes the context, it atm goes into a tight loop that never returns.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@codecov-commenter

codecov-commenter commented Jan 20, 2024

Copy link
Copy Markdown

Codecov Report

Merging #4805 (8cd3b00) into master (e2519ae) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@ Coverage Diff @@## master #4805 +/- ##
=======================================
Coverage 59.63% 59.63% =======================================
Files 287 287 Lines 24777 24777 =======================================
Hits 14775 14775 Misses 9114 9114 Partials 888 888 

@thaJeztahthaJeztah 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.

Oof! Nice find, thanks!

LGTM

(cc @laurazard@neersighted)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tonistiigi@codecov-commenter@thaJeztah