Commit Graph
28 Commits
Author SHA1 Message Date
Alex Hultman c77cae4635 Require 16kb/sec HTTP upload throughput or drop the uploader 2022-09-25 15:48:00 +02:00
Alex Hultman e4c6fbf8de Fix onWritable calling markDone resulting in potential heap-use-after-free 2022-05-02 01:38:11 +02:00
Dmitry IgrishinandGitHub c0ba2eb7b4 Fix 4Gb limit streamed HTTP on Raspberry Pi 32bit (#1253)
Commits f2198ccfac and 4fcfe49bcc
are fixed 2Gb limit, but introduced 4Gb limit on Rasperry Pi 32 bit.
This is because the max value of type `size_t` is `4294967295` on this
system.
Furthermore, the Standard Library use `std::uintmax_t` as a type
of value returned by `std::filesystem::file_size`.
2021-05-09 15:06:50 +02:00
Alex Hultman acbe52518f Remove f2, add ofats::any_invocable 2021-02-19 07:09:55 +01:00
Alex Hultman 3347bcc4b2 Questionable: support ancient Http and connection: close 2021-01-11 13:13:06 +01:00
Alex Hultman f2198ccfac Fix >2gb streamed HTTP responses 2020-07-29 08:41:53 +02:00
Alex Hultman 025415d1a0 Clean-ups, bump copyright date 2020-06-08 13:31:06 +02:00
Alex Hultman 2538cd18e9 Add WITH_PROXY flag 2020-06-06 12:59:40 +02:00
Alex Hultman 762b18459e Refactor a bit, put everything in uWS namespace 2019-06-09 07:53:43 +02:00
Alex Hultman f1bdbc968b First pass of overall cleanups 2019-02-10 00:17:13 +01:00
Alex Hultman 7b87460c57 HttpResponseData has to be convertible to AsyncSocketData 2019-01-29 16:11:42 +01:00
Alex Hultman 19aa6ec9af Implement hasResponded 2019-01-18 17:20:21 +01:00
Alex Hultman 2caefa9d96 We need HttpResponse::hasResponded 2019-01-18 16:36:24 +01:00
Alex Hultman 04281eeea6 onData as unique_function 2019-01-17 08:21:39 +01:00
Alex Hultman 6718301ac9 Make onAborted unique_function 2019-01-17 06:30:47 +01:00
Alex Hultman 95cafc2c7b Try using function2 for HttpResponse::onWritable 2019-01-15 07:11:30 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman 47467ab1e5 Pass "last" bool to res->onData 2019-01-07 03:05:19 +01:00
Alex Hultman ed7222e513 Fix last obvious leak 2018-12-30 18:02:57 +01:00
Alex Hultman 1613c5020d Initial WebSocket hook up 2018-10-29 23:06:32 +01:00
Alex Hultman ab6abaf2e6 Apache License 2.0 2018-10-29 00:13:52 +01:00
Alex Hultman 5a1de2039c Fix up async file streaming 2018-09-29 19:42:35 +02:00
Alex Hultman 2c511ec904 More work on new streams 2018-09-27 23:44:46 +02:00
Alex Hultman ee81e9b0b0 Remove old commented out code 2018-09-26 21:40:22 +02:00
Alex Hultman ede5fb304a HTTP_ENDED_STREAM_OUT and clean-ups 2018-09-21 00:02:53 +02:00
Alex Hultman 932b0b8944 Begin work on new streams API 2018-09-20 21:51:54 +02:00
Alex Hultman 883bdfe7d7 Some clean-ups 2018-09-15 05:31:42 +02:00
Alex Hultman eee6e97fda Move files around 2018-09-15 05:04:34 +02:00