diff --git a/CHANGES b/CHANGES index 05c15fd..6ad9ed9 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,9 @@  +Corrections: + On connect() failure and in some other situations Socat tries to get + detailled information about the error with recvmsg(). Error return of + this function is now logged as Info instead of Warn. + Coding: New Environment variable SOCAT_TRANSFER_WAIT that Socat sleep before starting the data transfer loop. Useful, e.g., to accumulate multiple diff --git a/xio-socket.c b/xio-socket.c index a81ddf8..2783a49 100644 --- a/xio-socket.c +++ b/xio-socket.c @@ -1577,7 +1577,7 @@ int xiogetpacketsrc(int fd, struct msghdr *msgh, int flags) { msgh->msg_flags = 0; #endif if (Recvmsg(fd, msgh, flags) < 0) { - Warn1("recvmsg(): %s", strerror(errno)); + Info1("recvmsg(): %s", strerror(errno)); return STAT_RETRYLATER; } return STAT_OK;