Dmitry Igrishin and GitHub
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
alexhultman-2fa and GitHub
b7c82d7910
Fix calculateIdleTimeoutCompnents
2021-04-13 14:19:05 +02:00
Alex Hultman
75e2479a9c
Do not append / to root-level topicNames
2021-04-10 23:16:04 +02:00
Alex Hultman
5df25ffa59
Fix lookupTopic
2021-04-10 22:24:11 +02:00
Alex Hultman
65d1498774
Make conceptual pub/sub changes for v19
2021-04-10 17:22:16 +02:00
Alex Hultman and GitHub
0b97cc72d3
Remove unused Multipart functions
2021-03-04 08:31:29 +01:00
Alex Hultman
b7202e71ee
Fix Multipart parser bug
2021-03-03 12:56:33 +01:00
Alex Hultman
ca6d4e3119
Never return more than maxPayloadLength in PMD mock
2021-03-01 12:46:12 +01:00
Alex Hultman
013809f09a
Alright, another try
2021-02-28 13:32:15 +01:00
Alex Hultman
facd80b30c
Use "mocked zlib" (not really) when fuzzing
2021-02-28 12:41:06 +01:00
Alex Hultman
8089063504
Expose payload to ping/pong events
2021-02-26 01:32:06 +01:00
Alex Hultman
29e6ea9f94
Raise zlib compression level
2021-02-24 12:54:35 +01:00
Alex Hultman
137425f9d2
Oops! Libdeflate inflate never worked
2021-02-24 12:05:56 +01:00
Alex Hultman
3eae7116e7
Add WITH_LIBDEFLATE option, pass Autobahn
2021-02-24 10:49:49 +01:00
Alex Hultman
b35978e1f3
I'm a total moron
2021-02-22 00:59:28 +01:00
Alex Hultman
380b3a7134
Make getUserData type safe
2021-02-21 01:31:38 +01:00
Alex Hultman
c7805e2e48
Remove uWS namespace specifier
2021-02-20 23:50:50 +01:00
Alex Hultman
6bf2e75589
Many changes and additions to pub/sub APIs
2021-02-20 15:58:20 +01:00
Alex Hultman
94f4deb50e
Return [numSubscribers, success] when (un)subscribing
2021-02-19 19:53:29 +01:00
Alex Hultman
23864c371f
Reserve maxLifetime for the future
2021-02-19 07:41:40 +01:00
Alex Hultman
26b7f8c7a6
WebSocket::send returns SendStatus now
2021-02-19 07:37:17 +01:00
Alex Hultman
d13aac1af8
Remove extra semicolons
2021-02-19 07:14:43 +01:00
Alex Hultman
acbe52518f
Remove f2, add ofats::any_invocable
2021-02-19 07:09:55 +01:00
Alex Hultman
5d6bb74bf6
Fix overflowing conversion to int in getParameter
2021-02-19 05:20:28 +01:00
Alex Hultman
a17a6a7268
Add nonStrict subscribe/unsubscribe
2021-02-03 00:16:56 +01:00
Alex Hultman
49929a6c74
Cheaper timeout system
2021-02-01 23:51:47 +01:00
Alex Hultman
20fbdbb7ae
Change defaults
2021-01-31 17:14:53 +00:00
Alex Hultman
df7c4bb9f8
Add option sendPingsAutomatically
2021-01-31 12:53:17 +00:00
Alex Hultman
76487df709
Hook up WebSocket::publish as sender
2021-01-29 13:27:04 +01:00
Alex Hultman
f8800d3e09
Proper topicTree integration
2021-01-29 13:10:49 +01:00
Alex Hultman
dc423cfda2
Add "fin" to intersection iterator
2021-01-29 12:21:46 +01:00
Alex Hultman
ac7c72698d
Initial integration of new topicTree
2021-01-28 17:26:02 +01:00
Alex Hultman
af8094268c
Cleanups
2021-01-28 17:15:05 +01:00
Alex Hultman
596d7fdfc0
Pass basic topicTree testcase
2021-01-28 16:49:09 +01:00
Alex Hultman
0d74439933
Initial sender hole experiment
2021-01-28 01:52:22 +01:00
Alex Hultman
90e61e88fd
Add resetIdleTimeoutOnSend
2021-01-27 18:56:24 +01:00
ronen37 and GitHub
d7d2c22750
Fix checking if we actively drain backpressure ( #1179 )
...
in WebSocketContext::us_socket_context_on_writable()
2021-01-26 12:40:36 +01:00
Alex Hultman
12d8b192a1
Add closeOnBackpressureLimit option
2021-01-26 12:18:31 +01:00
Alex Hultman
359c26b0bf
Send back connection close header
2021-01-25 14:04:48 +01:00
Alex Hultman
83adf40583
Add closeConnection to HttpResponse::end, FIN & close
2021-01-25 13:20:55 +01:00
Alex Hultman
33ee10dbe6
negotiateCompression has to be static inline
2021-01-23 19:13:56 +01:00
Alex Hultman
3347bcc4b2
Questionable: support ancient Http and connection: close
2021-01-11 13:13:06 +01:00
Alex Hultman
1acbcaf03a
Disallow windowBits=8 negotiation due to Zlib bug
2021-01-11 11:10:00 +01:00
Alex Hultman
7265ffe480
Experimental: rewrite extensions negotiation
2021-01-11 07:27:40 +01:00
Alex Hultman
a86a500f3b
Fix publish with ded. compr. compress = false
2021-01-08 21:08:19 +01:00
Robert Nagy and GitHub
cd33cd20ba
replace goto with loop ( #1151 )
2020-12-23 23:00:35 +01:00
Alex Hultman and GitHub
5b70871a08
writeHeader should writeStatus also for int64
2020-12-22 13:59:06 +01:00
Alex Hultman
62ea46321d
Update function2
2020-12-06 06:44:33 +01:00
Alex Hultman
26912f82a7
And you tell me NOW!?
2020-12-03 04:34:14 +01:00
Alex Hultman
e30217e787
PROXY parsing has to be done as part of every getHeaders
2020-12-02 22:17:39 +01:00