Skip to content

Handle buffered reads before disconnect#487

Open
Mirochill wants to merge 1 commit into
Pylons:mainfrom
Mirochill:fix-479-limited-readline
Open

Handle buffered reads before disconnect#487
Mirochill wants to merge 1 commit into
Pylons:mainfrom
Mirochill:fix-479-limited-readline

Conversation

@Mirochill
Copy link
Copy Markdown

@Mirochill Mirochill commented May 25, 2026

Fixes #479

Summary:

  • allow LimitedLengthFile.readinto() to return already-read partial data before reporting a disconnect
  • add unit coverage for direct short reads and buffered readline preserving the first line before disconnect

Tests:

  • Not run locally
  • git diff --check
  • GitHub Actions: Build and test, run 26413094955

@Mirochill Mirochill force-pushed the fix-479-limited-readline branch from 203748e to 72ca35e Compare May 25, 2026 17:49
@Mirochill Mirochill marked this pull request as ready for review May 25, 2026 17:53
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.

webob-1.8.9 fails one test with Python 3.14.0b1 (test_interrupted_request)

1 participant