diff --git a/NEWS b/NEWS index 415664b..3009b73 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,10 @@ See the end for copying conditions. * Version 2.11.1 (unreleased) +** libgnutls: by default lowat level has been set to zero to avoid unnecessary +system calls. Applications that depended on it being 1 should explicitly call +gnutls_transport_set_lowat(). + ** libgnutls: Nettle is the default crypto back end. Use --with-libgcrypt to use the libgcrypt back end. diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 1475951..6d3ef8a 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -103,7 +103,7 @@ typedef struct #define INITIAL_RECV_BUFFER_SIZE 256 /* the default for TCP */ -#define DEFAULT_LOWAT 1 +#define DEFAULT_LOWAT 0 /* expire time for resuming sessions */ #define DEFAULT_EXPIRE_TIME 3600