John Newbery
fad63ebe0f
[logging] Don't incorrectly log that REJECT messages are unknown.
...
Reject messages are logged to debug.log if NET debug logging is enabled.
Because of the way the `ProcessMessages()` function is structured,
processing for REJECT messages will also drop through to the default
branch and incorrectly log `Unknown command "reject" from peer-?`. Fix
that by exiting from `ProcessMessages()` early.
without this PR:
```
2018-05-03T17:37:00.930600Z received: reject (21 bytes) peer=0
2018-05-03T17:37:00.930620Z Reject message code 16: spammy spam
2018-05-03T17:37:00.930656Z Unknown command "reject" from peer=0
```
with this PR:
```
2018-05-03T17:35:04.751246Z received: reject (21 bytes) peer=0
2018-05-03T17:35:04.751274Z Reject message code 16: spammy spam
```
2018-05-03 13:41:03 -04:00
..
2018-04-29 14:37:19 -07:00
2018-04-16 11:47:32 -04:00
2018-04-13 09:52:50 -04:00
2018-04-27 14:44:22 -04:00
2018-04-27 16:10:02 -07:00
2018-04-10 20:13:32 -07:00
2018-03-20 17:08:06 -07:00
2018-05-03 11:53:30 +02:00
2018-05-02 15:14:04 +02:00
2018-04-26 20:10:12 +02:00
2018-04-09 09:18:49 +02:00
2018-04-29 14:37:19 -07:00
2018-05-03 11:32:57 +01:00
2018-04-13 15:37:20 -04:00
2018-04-23 14:25:28 +02:00
2018-04-10 20:54:33 +02:00
2018-03-21 11:57:57 +08:00
2018-03-22 16:23:04 +01:00
2018-04-06 04:46:02 +10:00
2018-04-13 17:15:15 +02:00
2018-04-16 13:24:14 -07:00
2018-03-22 16:23:04 +01:00
2018-03-15 18:57:55 -05:00
2018-05-02 10:02:48 -04:00
2018-04-17 17:15:20 -04:00
2018-04-11 23:15:28 +10:00
2018-04-06 04:46:02 +10:00
2018-03-13 17:04:31 -07:00
2018-04-16 13:24:14 -07:00
2018-03-21 14:17:18 -07:00
2018-04-05 08:20:37 -07:00
2018-04-23 21:09:17 +02:00
2018-03-27 00:37:20 +02:00
2018-04-07 12:29:48 -04:00
2018-04-25 11:25:05 -07:00
2018-03-13 17:04:31 -07:00
2018-04-05 09:31:53 +02:00
2018-04-27 16:10:02 -07:00
2018-04-27 16:10:02 -07:00
2018-05-02 10:02:48 -04:00
2018-04-13 14:07:21 +01:00
2018-03-22 16:23:04 +01:00
2018-04-04 17:50:32 -04:00
2018-04-25 22:31:40 +02:00
2018-05-02 11:25:20 +02:00
2018-05-02 11:25:20 +02:00
2018-04-26 15:33:11 +02:00
2018-04-18 19:53:10 -07:00
2018-04-04 16:52:40 -04:00
2018-04-25 13:13:24 -04:00
2018-04-25 11:25:18 -07:00
2018-04-02 18:31:52 +00:00
2018-04-09 09:18:49 +02:00
2018-03-14 23:10:39 -07:00
2018-05-03 13:41:03 -04:00
2018-04-04 16:52:40 -04:00
2018-05-02 15:14:04 +02:00
2018-04-13 19:25:18 +02:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-16 13:24:14 -07:00
2018-04-10 20:54:33 +02:00
2018-04-09 09:18:49 +02:00
2018-03-22 12:21:46 -04:00
2018-04-25 11:25:17 -07:00
2018-04-11 14:23:58 +02:00
2018-04-05 08:20:37 -07:00
2018-03-13 17:04:31 -07:00
2018-04-07 12:29:48 -04:00
2018-04-25 11:25:09 -07:00
2018-04-25 11:25:09 -07:00
2018-05-02 15:14:04 +02:00
2018-03-21 08:34:44 +02:00
2018-04-25 11:25:06 -07:00
2018-04-25 11:25:12 -07:00
2018-04-02 16:02:33 +02:00
2018-04-02 16:02:33 +02:00
2018-03-21 11:17:43 -04:00
2018-04-23 14:25:28 +02:00
2018-04-27 16:09:59 -07:00
2018-04-20 08:41:15 +10:00
2018-04-13 01:36:53 -07:00
2018-04-27 14:44:56 -04:00
2018-04-25 11:25:13 -07:00
2018-04-27 14:44:22 -04:00
2018-04-27 14:44:56 -04:00
2018-04-01 18:30:21 -04:00
2018-04-13 14:02:59 +01:00
2018-04-27 09:27:52 +02:00
2018-04-27 09:27:52 +02:00