Commit Graph

15 Commits

Author SHA1 Message Date
f09ab537e0 Clang-format everything. 2024-04-21 15:27:36 +02:00
f86c6440fb - Now WebServerSimple can also use temporary files for uploads.
- Added move_file() and is_file_moved()  helper methods to WebServerRequest.
- get_file_length() in WebServerRequest now returns uint64_t.
- Removed parse_files() from WebServerRequest. It's doesn't work well with how the http protocol works.
2024-03-09 23:39:33 +01:00
b8c81b5449 Small tweaks to HTTPServerSimple, mostly related to ssl handling. 2024-02-16 23:06:39 +01:00
978e49a289 Implemented range requests for the HTTPServerSimple. It does work in fiefox, however wget seems to choke on it. This will be fixed later. 2023-12-22 15:37:04 +01:00
df2859b9d0 Added a way to unregister connections and get out their raw connection data from the http server. 2023-12-22 12:38:38 +01:00
ae854d4e55 File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
56ae9e3734 Fix typos. 2023-09-22 16:21:37 +02:00
045ff319ce Make sure donwloads don't just eat up a thread until they are finished even if the kernel can just take all the data in HTTPServerSimple. Also update the timeout timer when there is activity in a socket. 2023-08-28 17:16:19 +02:00
ea5cddc44f The mime types dictionary now uses StringName indexes. Also compare against lowercase extensions. 2023-08-28 13:38:44 +02:00
715737abfe Now HTTPServerSimple sends files in non-blocking mode. 2023-08-28 12:54:30 +02:00
a155e44491 Implement max request size limit for HTTPServerSimple. 2023-03-18 11:52:25 +01:00
ddcf36addd Fixed multi threading + https in HTTPServerSimple. 2023-02-19 16:04:08 +01:00
e5f31bde7d Implement sending keep alive connection type if a connection has more than one request for HTTPServerSimple. Also more togglable debugging. 2023-02-19 15:11:29 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
1ef37c61c2 Moved http server simple to it's own module. 2022-08-19 22:09:30 +02:00