]> code.delx.au - gnu-emacs/blobdiff - src/gnutls.h
Add a note how to use `tramp-own-remote-path'
[gnu-emacs] / src / gnutls.h
index d03332ec2b6b01d0ef98b60603882177a911af7f..41769a47f544a4ce3dc923b094fbfb154a493817 100644 (file)
@@ -5,8 +5,8 @@ This file is part of GNU Emacs.
 
 GNU Emacs is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
 
 GNU Emacs is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -25,8 +25,9 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "lisp.h"
 
-/* This limits the attempts to handshake per process (connection).  */
-#define GNUTLS_EMACS_HANDSHAKES_LIMIT 100
+/* This limits the attempts to handshake per process (connection).  It
+   should work out to about one minute in asynchronous cases. */
+#define GNUTLS_EMACS_HANDSHAKES_LIMIT 6000
 
 typedef enum
 {
@@ -70,7 +71,7 @@ typedef enum
 #define GNUTLS_LOG2i(level, max, string, extra)                        \
   do {                                                         \
     if ((level) <= (max))                                      \
-      gnutls_log_function2i (level, "(Emacs) " string, extra); \
+      message ("gnutls.c: [%d] %s %d", level, string, extra);  \
   } while (false)
 
 extern ptrdiff_t