diff options
| -rw-r--r-- | include/net/conn.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/conn.hpp b/include/net/conn.hpp index 6cd6024..1e8ac23 100644 --- a/include/net/conn.hpp +++ b/include/net/conn.hpp @@ -108,7 +108,7 @@ public: { auto [id, len] = read_header(); if (id == 0) { - throw std::runtime_error("invalid message id"); + return; } std::vector<uint8_t> payload(len); rw.read(payload); |
