]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
serv: increase cache size used for resumption
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 2 Feb 2018 14:49:48 +0000 (15:49 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 2 Feb 2018 14:49:50 +0000 (15:49 +0100)
That allows sessions with longer parameters to be able
to be resumed.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
src/serv.c

index 6da39da7de1ddfd0bafd6797f2f3689f22954153..f5946a44172ffb6f1bf982849786f5490fcb3d6f 100644 (file)
@@ -1683,7 +1683,7 @@ static void cmd_parser(int argc, char **argv)
 /* session resuming support */
 
 #define SESSION_ID_SIZE 32
-#define SESSION_DATA_SIZE 1024
+#define SESSION_DATA_SIZE (16*1024)
 
 typedef struct {
        char session_id[SESSION_ID_SIZE];