8000 Simplified connection manager API by mjcaley · Pull Request #225 · mjcaley/aiospamc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Simplified connection manager API #225

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

Merged
merged 8 commits into from
Aug 20, 2020
Merged

Conversation

mjcaley
Copy link
Owner
@mjcaley mjcaley commented Aug 20, 2020

The original implementation of the connection manager was made with the assumption that multiple requests could be made over the same connection. Because of that it was based off of context managers. Since SPAMD will close the connection once the response is sent there's no need to maintain a context for it.

This removes the context managers and simplifies the API for the connection.

@mjcaley mjcaley merged commit f8baa46 into development Aug 20, 2020
@mjcaley mjcaley deleted the simplified-connection-api branch August 20, 2020 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0