solana-with-rpc-optimizations/core
Lijun Wang f156bc12ca
Enforce stream receive timeout (#28513)
In the quic server handle_connection, when we timed out in receiving the chunks, we loop forever to wait for the chunk. If the client never provide another chunk, the server can hopelessly wait for that chunk and wasting server resources. Instead WAIT_FOR_CHUNK_TIMEOUT_MS is introduced to bound this to 10 seconds at maximum. The stream will be dropped if it times out.
2022-11-02 10:09:32 -07:00
..
benches Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
src Enforce stream receive timeout (#28513) 2022-11-02 10:09:32 -07:00
tests Uses SnapshotHash type in snapshot archive fields (#28681) 2022-10-31 14:28:35 -04:00
.gitignore
Cargo.toml Use num-enum crate to make everything typesafe 2022-10-05 11:43:27 -05:00
build.rs