Skip to content

Conversation

@Lencerf
Copy link
Collaborator

@Lencerf Lencerf commented Jan 14, 2026

In guest-initiated connections, the Unix stream socket was created in blocking mode. This caused the uds_vsock worker to block indefinitely when reading from the socket if the RX queue had available buffers but the host had not sent enough data to fill them.

The test is also updated to use multiple buffers in the RX queue to reproduce and verify the fix.

In guest-initiated connections, the Unix stream socket was created in
blocking mode. This caused the `uds_vsock` worker to block indefinitely
when reading from the socket if the RX queue had available buffers but
the host had not sent enough data to fill them.

The test is also updated to use multiple buffers in the RX queue to
reproduce and verify the fix.

Signed-off-by: Changyuan Lyu <[email protected]>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 20979781994

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 26.542%

Totals Coverage Status
Change from base Build 20725890198: 0.05%
Covered Lines: 3594
Relevant Lines: 14011

💛 - Coveralls

@Lencerf Lencerf merged commit 7af2e55 into google:main Jan 14, 2026
5 checks passed
@Lencerf Lencerf deleted the fix/vsock/uds-non-blocking branch January 14, 2026 02:15
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