ftp: bump FTPBUFLEN from 4kB to 16kB
sourceforge.net returns a 5kB content-security-policy. Analyzed by mlelstv@ who reports usual limits are between 4kB and 48kB.
This commit is contained in:
parent
b5f76c451f
commit
8c5ffc0fbb
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ftp_var.h,v 1.87 2024/02/18 22:29:56 christos Exp $ */
|
/* $NetBSD: ftp_var.h,v 1.88 2024/02/18 22:33:15 wiz Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
|
||||||
|
@ -169,7 +169,7 @@ enum {
|
||||||
/*
|
/*
|
||||||
* Global defines
|
* Global defines
|
||||||
*/
|
*/
|
||||||
#define FTPBUFLEN (4 * MAXPATHLEN)
|
#define FTPBUFLEN (16 * 1024)
|
||||||
#define MAX_IN_PORT_T 0xffffU
|
#define MAX_IN_PORT_T 0xffffU
|
||||||
|
|
||||||
#define HASHBYTES 1024 /* default mark for `hash' command */
|
#define HASHBYTES 1024 /* default mark for `hash' command */
|
||||||
|
|
Loading…
Reference in New Issue