Commit graph

17 commits

Author SHA1 Message Date
ee2a93fbca Avoid needlessly setting the encoding 2025-02-07 17:02:37 +00:00
cb2085b684 Make more web server encoding tweaks 2025-02-07 16:09:42 +00:00
b0bb65dbed Tweak some web server exception handling 2025-02-07 10:54:59 +00:00
19c1fe235b Allow customising the web server read request exception handler 2025-02-07 10:48:50 +00:00
7de5901a94 Simplify exception handling in the web server 2025-02-06 16:45:22 +00:00
893299ba24 Start trying to improve exceptions and backtraces
When using knots utilities.
2025-02-03 15:44:51 +00:00
92bb4b8d85 Export the default-exception-handler 2025-02-03 12:06:10 +01:00
41974a6817 Rework handling of using a proc for the web server response body
To address encoding issues and improve exception handling.
2025-02-03 11:25:11 +01:00
40cf026ea4 Rework exception handling in the web server 2025-02-03 11:19:52 +01:00
c641c19ce4 Call web server exception handlers with the request
So that this can be used when reporting the exception.
2025-01-29 16:18:15 +00:00
b5cc5fd077 Make the web server buffer size configurable 2025-01-29 16:17:56 +00:00
c1796f0081 Update run-knots-web-server docstring 2025-01-25 18:17:38 +00:00
675d8c3258 Make the web server exception handler configurable 2025-01-25 18:16:27 +00:00
8805265243 Don't wait indefinitely for new requests in the web server
Inspired by the similar changes in Cuirass.
2025-01-25 18:16:27 +00:00
8a99f51bf9 Handle when the wrong number of values is returned in the web server 2025-01-23 19:46:43 +01:00
42d885c553 Try to better handle exceptions in the web server 2025-01-23 09:34:54 +01:00
2f39c58d6c Initial commit 2024-12-16 09:18:12 +00:00