Comments (3)
Considering that reads and writes for Requests require the programmer to explicitly write(msg)
or read(buf)
, what is the actionable item here?
from hyper.
I think they want the ability to prioritize new TCP connections over old ones by some form of throttling.
from hyper.
After an irc chat with @mcmanus, it seems the things that can be reasonably done:
- For Http 1.x, prioritization has to be done in the client layer. If a new request comes up with a higher priority, some Rust code that's writing to other sockets need to be able to
write(msg)
less. - Http 2 introduces priorities as part of the protocol, such that the server will handle and respond to requests with a higher priority first.
from hyper.
Related Issues (20)
- Support HTTP2 upgrades with !Send executors HOT 2
- Panic in `UpgradeableConnection` due to `unwrap`
- hyper-util: client connection pool idle timeout does not work as expected HOT 4
- How does hyper serialize a Request into bytes and then send it to the server over a TCP connection?
- Lack of documentation on Read trait HOT 2
- Bug with response using struct implementing bytes::Buf HOT 4
- Hyper-util doesn't build for the web
- Issues with client termination of H2 CONNECT streams HOT 3
- `hyper` v0.14.28 fails to build w/ tokio < v1.27
- Requests with empty bodies don't set a content-length header HOT 2
- Documentation for Service::Error behavior should say it is protocol dependent HOT 1
- Current master brunch of `hyper-util` failed to compile with `client` feature enabled.
- hyper_client set client_builder.http2_keep_alive_interval(Duration::from_millis(H2_KEEP_ALIVE_INTERVAL)); got mistake HOT 1
- how hyper server set idle time out for h1 and h2 server? HOT 1
- Got error "Transport endpoint is not connected" when benchmarking the hello example with wrk HOT 2
- hyper why not support get request when send request failed becase of connection error?
- Link-local ipv6 addresses are unusable on non-Linux-like platforms HOT 2
- hyper client happens cacel error which should retry HOT 4
- It cause error when I use http client to do the http2 request HOT 1
- You should provide a command-line downloader 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 hyper.