aboutsummaryrefslogtreecommitdiff
path: root/libweb
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-11-24 01:38:51 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-11-24 01:38:51 +0100
commitf0368253d113e0639468a6b482988fae791d67f6 (patch)
tree35deb52f6097ebbdee2a2660d1b32eb064f358ff /libweb
parentc3223566708f230285bf4ba7758bc2bae7a66018 (diff)
downloadslcl-f0368253d113e0639468a6b482988fae791d67f6.tar.gz
Bump libweb
The following commit should increase performance for slcl: commit b0accd099fa8c5110d4c3c68830ad6fd810ca3ec Author: Xavier Del Campo Romero <xavi.dcr@tutanota.com> Date: Fri Nov 24 00:52:50 2023 +0100 http.c: Unify read operations So far, libweb would perform different read operations depending on its state: - For HTTP headers or request bodies, one byte at a time was read. - For multipart/form-data, up to BUFSIZ bytes at a time were read. However, this caused a significant extra number of syscalls for no reason and would increase code complexity, specially when parsing multiform/form-data boundaries. Now, http_read always reads up to BUFSIZ bytes at a time and process them on a loop. Apart from reducing code complexity, this should increase performance due to the (much) lower number of syscalls required.
Diffstat (limited to 'libweb')
m---------libweb0
1 files changed, 0 insertions, 0 deletions
diff --git a/libweb b/libweb
-Subproject dec953e4f4af89149685c7463c422ccca6174cb
+Subproject b0accd099fa8c5110d4c3c68830ad6fd810ca3e