Comments (6)
The thing is that when you need a "Keep-Alive" Connection you don't want to close it
from wsgiproxy2.
I'm running into this error as well. It seems like the "Keep-Alive" header doesn't apply here. The conn
object is being thrown away after use, so there's no way to submit a second request. Or am I reading HttpClient.__call__
wrong? The conn.close()
befor return solves the error for me as well.
from wsgiproxy2.
It depend which client your using. It may be true with the one based on python builtin but not with requests/urllib3
from wsgiproxy2.
Oh! Right, I'm talking specifically about this client:
WSGIProxy2/wsgiproxy/proxies.py
Line 74 in 8de5c97
I fixed it here, would this break anything? master...djeebus:clean-up-connection
from wsgiproxy2.
I guess it's fine if the tests pass. PR welcome :)
from wsgiproxy2.
PR incoming! =) Thanks!
from wsgiproxy2.
Related Issues (16)
- Some tests in wsgiproxy.tests.TestRequests hang with Python 3 HOT 3
- Doctests failure due to missing README_fixt.py HOT 1
- WSGIProxy needs to quote PATH_INFO and QUERY_STRING on Python 3 HOT 2
- failures in test from wsgiproxy2-0.4.2 under py3 HOT 2
- ../
- No license file
- OPTIONS method is not allowed HOT 3
- The requests client decodes gzip data HOT 1
- PATCH option is not allowed (by default)
- Release 0.4.6? HOT 1
- Query string lost with Werkzeug HOT 3
- The source transfer-encoding is copied to the destination
- The proxy does not manipulate environ RAW_URI/REQUEST_URI the same way as other environ
- 0.4.6: sphinx warnings HOT 1
- 0.4.6: pytest warnings HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsgiproxy2.