[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH] POSIX: Bei Sockets Schreibpuffer deaktivieren
* POSIX/sockets: Schreibpuffer deaktivieren
Signed-off-by: Antoine Kaufmann <toni@xxxxxxxxxx>
---
src/modules/lib/posix/socket.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/modules/lib/posix/socket.c b/src/modules/lib/posix/socket.c
index b8941d7..74a7991 100644
--- a/src/modules/lib/posix/socket.c
+++ b/src/modules/lib/posix/socket.c
@@ -153,6 +153,7 @@ int connect(int sock, struct sockaddr* address, socklen_t address_len)
ret = -1;
goto out_path;
}
+ setvbuf((FILE*)conn, NULL, _IONBF, 0);
// FIXME Boeser Hack
memcpy(&socket->conn, conn, sizeof(*conn));
--
1.6.0.6