Commit Graph

759 Commits

Author SHA1 Message Date
Alex Hultman 415fec3830 Add DEDICATED_DECOMPRESSOR CompressOption 2021-09-28 04:06:49 +02:00
Alex Hultman 7a3bc47f75 And that is totally wrong & broken 2021-09-27 02:21:46 +02:00
Alex Hultman a924404bed That's definitely not correct either 2021-09-26 20:33:41 +02:00
Alex Hultman 5e1d1f1388 Well that's not correct 2021-09-25 21:43:56 +00:00
Alex Hultman 60939de843 Move TopicTree to the App 2021-09-25 21:24:59 +00:00
Alex Hultman dd67cb01f2 Trigger & fix first fuzzing bug 2021-09-25 06:26:58 +02:00
Alex Hultman 4243874967 Rewritten pub/sub, v20 2021-09-25 04:46:10 +02:00
Alex Hultman ebb06374f3 Add files via upload 2021-09-23 19:37:29 +02:00
Alex Hultman f1cd150efb Clean senderHoles from deleted subscriber 2021-09-22 21:25:36 +02:00
Alex Hultman 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 6617e7bd5c Add size_mb option to load_test 2021-09-19 00:39:36 +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 d6f3ebdbc6 Add failing reordering test for v19 2021-09-13 12:36:52 +02:00
Alex Hultman 5f0065825a Update EpollEchoServerPubSub.cpp 2021-09-12 19:42:14 +02:00
Alex Hultman 0bf9483894 Fix fuzzing build, make a more interesting example of pubsub 2021-09-12 17:23:46 +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 e669c7017c Update README.md 2021-09-07 14:02:59 +02:00
Alex Hultman 58e1a6f5ec Update uSockets 2021-09-05 06:10:08 +00:00
Alex Hultman d40c2d1a31 Add ASIO event-loop support 2021-09-04 07:45:16 +00:00
Alex Hultman e0f25b0f73 Update README.md 2021-08-30 01:13:11 +02:00
Alex Hultman 030d113710 Fix WebSocket::close being called in close handler (#1320) 2021-08-29 21:49:18 +02:00
Alex Hultman 644f3c5ea8 Cause reported close crash while fuzzing 2021-08-29 21:15:47 +02:00
Alex Hultman 0f586876f8 Fix fuzzing build 2021-08-29 12:14:28 +02:00
Alex Hultman c8d088de18 Update TopicTree.cpp 2021-08-29 11:57:18 +02:00
Alex Hultman 9d700c43a8 Update EpollHelloWorld.cpp 2021-08-29 11:52:58 +02:00
Alex Hultman 5ec6925113 Update uSockets 2021-08-28 22:38:03 +02:00
Mark Plomer 501c090ef5 Shorter socket-timeouts after WebSocket::end() (#1245) (#1246) 2021-08-28 21:27:32 +02:00
ramblehead 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 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
Alex Hultman f5b8ec214a Add failing TopicTree test 2021-06-26 19:45:04 +02:00
Owl 9aaed2ebd6 Fix typos in READMORE (#1249)
* Fix typos in READMORE

* fix more typos

* use canceled instead of cancelled

Co-authored-by: hst-m <65402951+hst-m@users.noreply.github.com>

* Update misc/READMORE.md

Co-authored-by: hst-m <65402951+hst-m@users.noreply.github.com>

* Update misc/READMORE.md

Co-authored-by: hst-m <65402951+hst-m@users.noreply.github.com>

Co-authored-by: hst-m <65402951+hst-m@users.noreply.github.com>
2021-06-09 20:54:50 +02:00
Dmitry Igrishin 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 eb0ce83f2c Revert "Update uSockets"
This reverts commit 460146caea.
2021-04-28 14:16:23 +02:00
alexhultman-2fa c2c9097376 Update README.md 2021-04-20 17:56:15 +02:00
Alex Hultman 460146caea Update uSockets 2021-04-20 01:29:47 +02:00
Alex Hultman 2fb38d5de9 Make scale_test.c easier to use and read 2021-04-13 23:29:57 +02:00
alexhultman-2fa d29cc1f4b4 Create README.md 2021-04-13 16:29:31 +02:00
alexhultman-2fa 590e16905a mkdir for install 2021-04-13 16:23:50 +02:00
alexhultman-2fa 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 9d8e37d8a4 Make scale_test report latency for broadcasts 2021-04-06 18:15:45 +02:00
Alex Hultman 640d9d97c6 Broadacst unix time in 8ms intervals, example 2021-04-06 18:02:45 +02:00