diff options
author | Florin Coras <fcoras@cisco.com> | 2022-01-24 18:46:03 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-01-26 16:54:46 +0000 |
commit | 6a4a11f4793781e47baa00c900f78386471a15c1 (patch) | |
tree | 210d199b73e3675cb5312fd10761632ec1e243ac /src/plugins/http_static/http_static.c | |
parent | 1d88fb97bef7dbe998830ea1eb2f8519c6cc9e97 (diff) |
http_static: refactor to use http transport
Type: refactor
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I66396a1879eb3c87ef64783eab82a22896413cd0
Diffstat (limited to 'src/plugins/http_static/http_static.c')
-rw-r--r-- | src/plugins/http_static/http_static.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/http_static/http_static.c b/src/plugins/http_static/http_static.c index 48ae593718a..4e611a6a378 100644 --- a/src/plugins/http_static/http_static.c +++ b/src/plugins/http_static/http_static.c @@ -47,11 +47,10 @@ static void vl_api_http_static_enable_t_handler mp->uri[ARRAY_LEN (mp->uri) - 1] = 0; mp->www_root[ARRAY_LEN (mp->www_root) - 1] = 0; - rv = http_static_server_enable_api - (ntohl (mp->fifo_size), - ntohl (mp->cache_size_limit), - ntohl (mp->prealloc_fifos), - ntohl (mp->private_segment_size), mp->www_root, mp->uri); + rv = + hss_enable_api (ntohl (mp->fifo_size), ntohl (mp->cache_size_limit), + ntohl (mp->prealloc_fifos), + ntohl (mp->private_segment_size), mp->www_root, mp->uri); REPLY_MACRO (VL_API_HTTP_STATIC_ENABLE_REPLY); } |