Alex Hultman and GitHub
f1cd150efb
Clean senderHoles from deleted subscriber
2021-09-22 21:25:36 +02:00
Alex Hultman and GitHub
6393f97bfb
Erase backpressure in steps of 1/32th
2021-09-20 19:10:43 +02:00
Alex Hultman
34cadcee27
getBufferedAmount should only see totalLength
2021-09-20 15:13:11 +00:00
Alex Hultman
3eefc51c08
Reduce pendingRemoval limit to 32kb
2021-09-20 15:01:42 +00:00
Alex Hultman
069e66b31c
Optimize getSendBuffer for large sends
2021-09-19 01:19:29 +00:00
Alex Hultman
7c1ba44545
Improve large backpressure drain performance
2021-09-16 17:13:13 +02:00
Alex Hultman
292b00c4c3
Fix requiresWrite uncorking bug
2021-09-15 02:38:42 +02:00
Alex Hultman
d4a24fdb5e
Fix v19 reordering bug
2021-09-13 12:58:18 +02:00
Alex Hultman
c35d6c1bb8
Add more checks and warnings for cork buffer misuse
2021-09-12 16:51:50 +02:00
Alex Hultman
78d20fd103
Add more pubsub fuzzing
2021-09-12 14:35:51 +02:00
Alex Hultman and GitHub
030d113710
Fix WebSocket::close being called in close handler ( #1320 )
2021-08-29 21:49:18 +02:00
Mark Plomer and GitHub
501c090ef5
Shorter socket-timeouts after WebSocket::end() ( #1245 ) ( #1246 )
2021-08-28 21:27:32 +02:00
ramblehead and GitHub
6048d026d0
Fixes #1306 - transitive dependencies in header files ( #1310 )
...
* uSockets/src/internal/networking/bsd.h
Add #include "libusockets.h" for LIBUS_SOCKET_DESCRIPTOR
* uWebSockets/src/AsyncSocket.h
Add #include <cstring> for memcpy
Add #include "libusockets.h" for us_socket
* uWebSockets/src/HttpResponse.h
Add #include "HttpContext.h" for HttpContext
* uWebSockets/src/PerMessageDeflate.h
Add #include <cstdint> for uint32_t
* uWebSockets/src/WebSocketContextData.h
Add #include "Loop.h" for Loop::get()
Add #include "AsyncSocket.h" for AsyncSocket
* uWebSockets/src/WebSocketProtocol.h
Add #include <libusockets.h> for WIN32_EXPORT macro
2021-08-28 01:21:31 +02:00
hst-m and GitHub
d94bf2cd43
forSubscriber needs to act like set_intersection
...
* fix #1269
* Update TopicTree.h
* improve performance
* cleanup
* indent
* move variables
* latestMatch
* group emitted messages
* whitespace
* typo
* improve performance
2021-06-26 22:25:21 +02:00
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