Skip to content

Fix client getting stuck on unexpected server EOF#503

Open
oxy-star wants to merge 1 commit into
aio-libs:masterfrom
oxy-star:fix-infinite-loop-on-server-close
Open

Fix client getting stuck on unexpected server EOF#503
oxy-star wants to merge 1 commit into
aio-libs:masterfrom
oxy-star:fix-infinite-loop-on-server-close

Conversation

@oxy-star

@oxy-star oxy-star commented Jul 9, 2026

Copy link
Copy Markdown

What do these changes do?

Fix client getting stuck when server closes connection unexpectedly

Are there changes in behavior for the user?

An exception will be raised in such case instead of getting stuck forever trying to read data

Related issue number

Fixes #502

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@oxy-star
oxy-star force-pushed the fix-infinite-loop-on-server-close branch from b371777 to f28a176 Compare July 9, 2026 05:46
@oxy-star
oxy-star force-pushed the fix-infinite-loop-on-server-close branch from f28a176 to 70ffb44 Compare July 9, 2026 05:49

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

I would've added a comment about the client closing unexpectedly but this change makes logical sense.

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.

Client can get stuck if server closes connection unexpectedly

2 participants