Comments (2)
Right now, reuse
means reuse the socket. No state is kept and you need to store the cookie somewhere in your application if you need it.
The point of reusing connections is to reduce the number of opened connections on your machines. If your server is handling keepalive then you have good chances to reuse the last connection.
from hackney.
Oh, yes i wish i hadn't said it was pointless ... Thanks for the explanations :)
from hackney.
Related Issues (20)
- hackney erroring out when URL is "http://" HOT 4
- replace httpbin in tests
- Hackney checkout_failure which was working before 1.16.0 HOT 15
- hackney slow on reading chunked reply of ~20mb HOT 1
- Incorrect Host header used on redirected requests HOT 2
- Hackney should ignore 1XX responses HOT 1
- Status codes as floats HOT 2
- Connection timeout errors
- Authorization header on redirect
- Need a way to set filename for Content-Disposition when uploading file-data from memory HOT 4
- invalid_proxy_transport - returned with https proxy requesting https host HOT 7
- relative paths in the location header are not properly redirected
- parse_trans needed at runtime?
- Incorrect URL parsing when path is not set and query contains `/` character HOT 2
- Pool connection not freed when response code is 307 (with example! :tada: ) HOT 1
- Failing to access localhost on macOS
- Multiple Cookie headers in request HOT 1
- `content-type` corrupted if supplied as list/string instead of binary HOT 1
- ssl:recv/3 called with negative Length HOT 9
- GET request with basic authorization -- "HTTP request failed: bad_request" HOT 2
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 hackney.