Commit Graph
32 Commits
Author SHA1 Message Date
Alex Hultman 01d16b3ce8 Fix broken compression 2021-10-31 04:34:39 +01:00
Alex Hultman 406250ee22 Fix and add more decompressors 2021-10-30 23:53:56 +02:00
Alex Hultman 415fec3830 Add DEDICATED_DECOMPRESSOR CompressOption 2021-09-28 04:06:49 +02:00
rambleheadandGitHub 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
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 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 7265ffe480 Experimental: rewrite extensions negotiation 2021-01-11 07:27:40 +01:00
Alex Hultman 21cb4846df Use std::optional in permessage-deflate 2020-10-23 02:16:49 +02:00
Alex Hultman f52d816032 Never compress 0 bytes, finish pub/sub ded. compr. 2020-06-22 07:10:43 +02:00
Alex Hultman 025415d1a0 Clean-ups, bump copyright date 2020-06-08 13:31:06 +02:00
Alex Hultman 22d661609a Zero-length inflations are peculiar, yet valid 2020-04-03 20:46:20 +02:00
Alex HultmanandGitHub dfbab89e6e Restore UWS_NO_ZLIB 2020-03-02 21:26:18 +01:00
Alex HultmanandGitHub 2e65bf0a67 3kb is smallest compressor 2020-02-29 05:21:30 +01:00
Alex Hultman 3a856b610b Add memory limited dedicated compressors 2020-02-29 04:06:27 +01:00
Alex Hultman bbbe3bda18 Be strict about maxPayloadLength in inflate 2020-01-01 18:15:56 +01:00
Alex HultmanandGitHub 8af994f713 Update PerMessageDeflate.h 2019-10-21 10:54:33 +02:00
Alex Hultman 1c237bfec8 Do not use Z_FINISH in permessage-deflate 2019-07-28 21:57:31 +00: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 85889153b9 Remove most debug prints 2019-01-22 09:41:48 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman 339e2d72dc Fix more memory leaks 2018-12-30 17:43:11 +01:00
Alex Hultman 6618f7194b Fix a few memory leaks 2018-12-30 17:17:22 +01:00
Alex Hultman 6befbd4a37 Allow UWS_NO_ZLIB to work properly 2018-12-29 14:00:26 +01:00
Alex Hultman e70eb78ae3 Hook up maxPayloadLength for Zlib too 2018-12-29 13:47:15 +01:00
Alex Hultman 038111fb98 Add SHARED and DEDICATED compressor options 2018-12-22 05:58:26 +01:00
Alex Hultman f8e299c312 Add initial send compression 2018-12-22 03:08:12 +01:00
Alex Hultman 6c9ac88f50 Add basic permessage-deflate, pass entire Autobahn 2018-11-29 08:37:31 +01:00