diff options
author | 2024-10-07 12:32:22 -0700 | |
---|---|---|
committer | 2024-10-07 23:24:59 +0000 | |
commit | 4856f33fa81b5a0cc3de6f0bc26b27235bc8270c (patch) | |
tree | 304c269dad650c6a75878a4fd23684bcbbb0a98d /src/plugins/http_static | |
parent | 8d09a70ee87e777dabf2251e517f5cd63ebc269b (diff) |
http_static: fix first and add segment size
Allow segments bigger than 4GB
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I510f7cff75883fdbd6c0c22efff9a14e26c755f4
Diffstat (limited to 'src/plugins/http_static')
-rw-r--r-- | src/plugins/http_static/static_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/http_static/static_server.c b/src/plugins/http_static/static_server.c index 48e71f51629..49d1630e843 100644 --- a/src/plugins/http_static/static_server.c +++ b/src/plugins/http_static/static_server.c @@ -747,7 +747,7 @@ hss_attach () hss_main_t *hsm = &hss_main; u64 options[APP_OPTIONS_N_OPTIONS]; vnet_app_attach_args_t _a, *a = &_a; - u32 segment_size = 128 << 20; + u64 segment_size = 128 << 20; clib_memset (a, 0, sizeof (*a)); clib_memset (options, 0, sizeof (options)); |