diff options
-rw-r--r-- | src/plugins/http/http.c | 1 | ||||
-rw-r--r-- | src/plugins/http_static/static_server.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/http/http.c b/src/plugins/http/http.c index f1f59b41519..bbc7aed8348 100644 --- a/src/plugins/http/http.c +++ b/src/plugins/http/http.c @@ -232,6 +232,7 @@ http_ts_accept_callback (session_t *ts) if ((rv = app_worker_init_accepted (as))) { HTTP_DBG (1, "failed to allocate fifos"); + hc->h_pa_session_handle = SESSION_INVALID_HANDLE; session_free (as); return rv; } 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)); |