[api] Fix stale comment: 1MB → 16MB socket buffers

This commit is contained in:
J. Nick Koston
2026-04-01 09:40:25 -10:00
parent 9fb8594a16
commit 34cbe0abe1
@@ -23,7 +23,7 @@ inline void drain_socket(int fd) {
// Create a TCP loopback socket pair. Returns the write-side Socket
// (wrapped for ESPHome) and the raw read-side fd for draining.
// Both ends are non-blocking with 1MB buffers.
// Both ends are non-blocking with 16MB buffers.
inline std::pair<std::unique_ptr<socket::Socket>, int> create_tcp_loopback() {
// Create a TCP listener on loopback
int listen_fd = ::socket(AF_INET, SOCK_STREAM, 0);