Better error message on socket (#1477)

* checking errno

* improved socket error message

* improved message

* decode error code

* format

* clearer msg

* report write errors, handle SIGPIPE

* retry and cleaned up timeout

* removed read/write in DataSocket
This commit is contained in:
Erik Fröjdh
2026-08-03 09:31:26 +02:00
committed by mazzol_a
parent a01d96e892
commit 5fb0e2c941
9 changed files with 475 additions and 62 deletions
+2
View File
@@ -64,4 +64,6 @@ bool replace_first(std::string *s, const std::string &substr,
std::pair<std::string, uint16_t> ParseHostPort(const std::string &s);
std::string to_lower(const std::string &s);
} // namespace sls