This introduces rate limits for the `ChannelReader` to limit DDoS attacks and attempts to upload repositories that are larger than a node is will to permit. The limiter sets the total number of bytes it is will to accept in a single exchange, defaulting to 500MB. This means that initial fetches will prevent large repositories, but is plenty for new packfile data to be sent in subsequent fetch exchanges. The limit can be configured within the node's config file, under the limits. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||