X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fkrb5-security.c;h=dcf778e6567df9d2e062cfa866d37668675d9663;hb=9ae8aba300e5a96fb007ce1e7f167a0fceace72f;hp=6c6572b619abcb557e532b64eafb7db5ff45279e;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/common-src/krb5-security.c b/common-src/krb5-security.c index 6c6572b..dcf778e 100644 --- a/common-src/krb5-security.c +++ b/common-src/krb5-security.c @@ -116,15 +116,10 @@ */ #define GSS_TIMEOUT 30 -/* - * The largest buffer we can send/receive. - */ -#define AMANDA_MAX_TOK_SIZE (MAX_TAPE_BLOCK_BYTES * 4) - /* * This is the tcp stream buffer size */ -#define KRB5_STREAM_BUFSIZE (MAX_TAPE_BLOCK_BYTES * 2) +#define KRB5_STREAM_BUFSIZE (32768 * 2) /* * This is the max number of outgoing connections we can have at once.