gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1689 - in GNUnet/src: applications/tbench transports


From: grothoff
Subject: [GNUnet-SVN] r1689 - in GNUnet/src: applications/tbench transports
Date: Mon, 15 Aug 2005 23:44:26 -0700 (PDT)

Author: grothoff
Date: 2005-08-15 23:44:25 -0700 (Mon, 15 Aug 2005)
New Revision: 1689

Modified:
   GNUnet/src/applications/tbench/tbenchtest_udp.c
   GNUnet/src/transports/tcp.c
Log:
msg

Modified: GNUnet/src/applications/tbench/tbenchtest_udp.c
===================================================================
--- GNUnet/src/applications/tbench/tbenchtest_udp.c     2005-08-15 19:59:17 UTC 
(rev 1688)
+++ GNUnet/src/applications/tbench/tbenchtest_udp.c     2005-08-16 06:44:25 UTC 
(rev 1689)
@@ -221,6 +221,7 @@
       ret = test(sock, i, 1+1024/i, 4, 10 * cronMILLIS, 2, 2 * cronSECONDS);
     checkConnected(sock);
   }
+  ret = test(sock, 4096, 10, 10, 500 * cronMILLIS, 1, 10 * cronSECONDS);
   ret = test(sock, 32768, 10, 10, 500 * cronMILLIS, 1, 10 * cronSECONDS);
   releaseClientSocket(sock);
   if (daemon1 != -1) {

Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2005-08-15 19:59:17 UTC (rev 1688)
+++ GNUnet/src/transports/tcp.c 2005-08-16 06:44:25 UTC (rev 1689)
@@ -618,9 +618,12 @@
        LOG_STRERROR(LOG_ERROR, "isSocketValid");
        tcp_sock = -1; /* prevent us from error'ing all the time */
       }
-    } else
+    }
+#if DEBUG_TCP
+    else
       LOG(LOG_DEBUG,
          "TCP server socket not open!\n");
+#endif
     if (tcp_pipe[0] != -1) {
       if (-1 != FSTAT(tcp_pipe[0], &buf)) {
        FD_SET(tcp_pipe[0], &readSet);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]