http: http_read_message improvement 70/41370/5
authorMatus Fabian <[email protected]>
Tue, 6 Aug 2024 13:55:26 +0000 (15:55 +0200)
committerMatus Fabian <[email protected]>
Fri, 16 Aug 2024 11:36:34 +0000 (13:36 +0200)
commit5546755d1a76be9bb3b6a98fb8280f8e9a17ffd1
treebf08e2ce2cf76830e0db75f777f1e22065794461
parentf02e7467856f20d479784e0a5e73e45d3ac8db51
http: http_read_message improvement

Use svm_fifo_peek in http_read_message and advance rx fifo head by
amount of bytes send to app, since not always you won't or can't
send all bytes.

Type: improvement
Change-Id: I84348c9df5c77ba386c9738a754295bb9ea0f7ef
Signed-off-by: Matus Fabian <[email protected]>
extras/hs-test/http_test.go
src/plugins/http/http.c
src/plugins/http/http.h