Skip to content

Close all outstanding responses on client close #35

@lovelydinosaur

Description

@lovelydinosaur

Client close currently closes off any keep-alive connections.
Actually the behavior would be more neatly bounded if we forcibly close off all connections.

with SyncClient() as client:
    response = client.get(..., stream=True)
response.read()  # This should raise an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions