Commit Graph
379 Commits
Author SHA1 Message Date
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
ronen37andGitHub 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 NagyandGitHub cd33cd20ba replace goto with loop (#1151) 2020-12-23 23:00:35 +01:00
Alex HultmanandGitHub 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
Alex Hultman 0a8264e776 Document & fix PROXY regression/bug 2020-12-02 03:37:56 +01:00
Alex Hultman 7f557cef41 Add basic ABI check 2020-12-01 05:53:28 +01:00
Alex Hultman fe553742f2 Fix last warnings, SocketContextOptions, BloomFilter 2020-12-01 05:45:53 +01:00
Alex Hultman a8b33acf7b Fix Http regression from warnings fix 2020-12-01 04:37:43 +01:00
Alex Hultman ad1d6fac08 Fix -Wunused-parameter 2020-12-01 01:10:00 +01:00
Alex Hultman cb582461b9 Fix MessageMetadata warnings on old GCC 2020-11-30 23:53:08 +01:00
Alex Hultman 1c5d201846 Fix -Wmissing-field-initializers 2020-11-30 23:37:49 +01:00
Alex Hultman ec2795d341 Fix -Wall warnings 2020-11-30 23:12:38 +01:00
Alex Hultman ad0a961430 Experimental: Fix all signed/unsigned warnings 2020-11-30 23:00:36 +01:00
ihsinmeandGitHub 72e99519a9 fix access outside the array (#1119) 2020-11-16 17:04:32 +01:00
Alex Hultman 21cb4846df Use std::optional in permessage-deflate 2020-10-23 02:16:49 +02:00
Alex Hultman 59a38b3a13 Empty part is not a viable indication of end 2020-10-14 21:59:23 +02:00
Alex Hultman 2989189048 Fix up the ParameterParser a bit more 2020-10-11 19:56:35 +02:00