From d086a3650eea95056e738e2cc5dc18ce6edc278b Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Thu, 27 Jun 2024 13:20:10 +0200 Subject: http: state machine fix When client sends second request without waiting for response of the first request http_ts_rx_callback should drop request (pipelining is not supported) instead of invoking return to state machine which can lead to erroneous state, e.g. reading random data from server app fifo. Added simple http static server url handler for testing to simulate long running request processing, for now hardcoded delay 5 seconds. Type: fix Change-Id: Ied9f7e2e4ee64c982f045c0f7f99a2dc5d7a2108 Signed-off-by: Matus Fabian --- src/plugins/hs_apps/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/hs_apps/CMakeLists.txt') diff --git a/src/plugins/hs_apps/CMakeLists.txt b/src/plugins/hs_apps/CMakeLists.txt index 179c9c7a4c4..3553a25837e 100644 --- a/src/plugins/hs_apps/CMakeLists.txt +++ b/src/plugins/hs_apps/CMakeLists.txt @@ -23,6 +23,7 @@ add_vpp_plugin(hs_apps http_client_cli.c http_tps.c proxy.c + test_builtins.c ) ############################################################################## -- cgit