udp scrape improvements (#43)

* udp_protocol: forbid full scrapes

* udp: improve PendingScrapeResponseMap logging

* udp: PendingScrapeResponseMap: store less data, improve logging

* udp: PendingScrapeResponseMap: log if replacing entry on insert

* udp: PendingScrapeResponseMap: use remote addr in key

* Run cargo fmt

* README: update copyright end year

* udp: move scrape request splitting logic into PendingScrapeResponseMap

* udp: add quickcheck test test_pending_scrape_response_map

* udp protocol: fix failing test_scrape_request_convert_identity
This commit is contained in:
Joakim Frostegård 2022-01-06 11:48:16 +01:00 committed by GitHub
parent e5a1461613
commit 700dd68d2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 217 additions and 59 deletions

View file

@ -174,7 +174,7 @@ To fairly compare HTTP performance to opentracker, set keepalive to false in
## Copyright and license
Copyright (c) 2020-2021 Joakim Frostegård
Copyright (c) 2020-2022 Joakim Frostegård
Distributed under Apache 2.0 license (details in `LICENSE` file.)