Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send a clearer error message if response is truncated before a chunk #2860

Merged
merged 4 commits into from Jan 31, 2024

Commits on Dec 28, 2022

  1. Send a clearer error message if response is truncated before a chunk

    If a chunked response is truncated exactly before sending a new chunk
    (that is, before the first byte of the chunk size), urllib3 throws
    `InvalidChunkLength(got length b'\\n', 0 bytes read)`. This is
    confusing as no chunk length was sent (a valid chunk length line would
    also be \r\n-terminated and we didn't see those either).
    
    If the chunk length is the empty string, send a different error message.
    rnewson committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    65d3723 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Configuration menu
    Copy the full SHA
    903ac67 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    185dd73 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Update changelog/2860.bugfix.rst

    Co-authored-by: Ruben Laguna <ruben.laguna@gmail.com>
    sethmlarson and ecerulm committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    fdc7df6 View commit details
    Browse the repository at this point in the history