You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #1552: Refactor UDP error event logic before adding new metrics
a8f3a97 refactor: [#1551] extract event handler for each udp event (Jose Celano)
89ac87c refactor: [#1551] extract methods in udp event handler" (Jose Celano)
07c6e89 refactor: rename UDP tracker server error variants (Jose Celano)
21bea5b refactor: [#1456] increase ban counters asyncronously (Jose Celano)
ad1b19a feat: trigger UDP error event when there is no transaction ID too (Jose Celano)
525ab73 refactor: [#1456] extract methods (Jose Celano)
f485501 refactor: [#1456 clean code (Jose Celano)
0108c26 fix: test. Error message changed (Jose Celano)
d7902f1 refactor: [#1456] remove unused enum variant in udp server error (Jose Celano)
8f3c22a feat: [#1456] expose error kind in the UdpError event (Jose Celano)
52b9660 feat: [#1456] wrapper over aquatic RequestParseError to make it sendable (Jose Celano)
Pull request description:
I will add a new metric to count which client's software is used when a UDP error is produced (only for connection ID errors, for now).
This PR make some changes before adding the new metric.
### Subtasks
- [x] Wrapper for aquatic parse error. It's not sendable.
- [x] Add the error to the `Event::UdpError` event.
- [x] Move logic to increase the number of wrong connection IDs per IP to the event listener.
- [x] Rename errors.
- [x] Refactor event handler.
ACKs for top commit:
josecelano:
ACK a8f3a97
Tree-SHA512: faa185a8050ef9e45f317ef06aa74e52bb385c31167fa0f199411bb1a47a573429daa31b2cccdd024f8fd75c91227618350d10e41d12e8b4062fb1e8d7f7bfdc
0 commit comments