Commit Graph
314 Commits
Author SHA1 Message Date
alexhultman-2faandGitHub f21cb8fcba Quick-fix stack overflow while fuzzing 2020-08-09 10:24:15 +02:00
Alex Hultman dd0f220040 Add comment regarding BloomFilter 2020-08-06 17:37:00 +02:00
Alex Hultman 2a791726c2 Bloom filter has to be reset 2020-08-06 17:12:16 +02:00
Alex Hultman 1fdcfa559e Improve fuzzing coverage 2020-08-06 17:07:19 +02:00
Alex Hultman 4d66885e67 Make Loop::free/get reusable 2020-08-05 15:16:39 +02:00
Alex Hultman 4fcfe49bcc getWriteOffset should give size_t 2020-07-29 08:56:32 +02:00
Alex Hultman f2198ccfac Fix >2gb streamed HTTP responses 2020-07-29 08:41:53 +02:00
Alex Hultman 8dfabd559d Respond with server_max_window_bits if applicable 2020-07-02 01:06:10 +02:00
Alex HultmanandGitHub c7506a05dc Remove print from TopicTree 2020-06-28 08:31:24 +02:00
Alex Hultman 3e5d91418a Emit 1006 with some usable reason messages 2020-06-27 01:49:51 +02:00
Alex Hultman 13e0a93441 Never emit 0 as close code; use 1005 instead 2020-06-27 00:57:42 +02:00
Alex Hultman 10bbfaa22f Use uSockets v0.5.0 2020-06-26 22:12:33 +02:00
Alex Hultman 2ff50630e9 Send TCP FIN from HttpContext if WebSocket FIN sent 2020-06-26 06:08:41 +02:00
Alex Hultman 162fa965ee AsyncSocket::getBufferedAmount should be unsigned 2020-06-26 06:07:36 +02:00
Alex Hultman f52d816032 Never compress 0 bytes, finish pub/sub ded. compr. 2020-06-22 07:10:43 +02:00
Alex Hultman 57cec82fcf Initial pub/sub dedicated compression 2020-06-21 03:19:50 +02:00
Alex Hultman 04bce1b828 maxBackpressure of 0 should always mean disabled 2020-06-21 00:10:03 +02:00
Alex Hultman e85b5bff3c Skip sending on WebSocket when having too much backpressure 2020-06-21 00:05:18 +02:00
Alex Hultman 1a2c5a9527 Make getNativeHandle public 2020-06-20 23:45:30 +02:00
Alex Hultman aac11b07fb Add getNativeHandle functions 2020-06-20 23:36:27 +02:00
Alex Hultman 9336e7d9af Stricter PROXY/HTTP detection 2020-06-10 22:33:09 +02:00
Alex Hultman fd2d36328d Never drain a closing socket from unsubscribeAll 2020-06-10 22:25:45 +02:00
Alex Hultman 17b718a10b Stricter pub/sub grouping 2020-06-10 14:20:32 +02:00
Alex Hultman 025415d1a0 Clean-ups, bump copyright date 2020-06-08 13:31:06 +02:00
Alex Hultman 5d5f9edc63 Return empty string if we have no proxy 2020-06-06 21:07:20 +02:00
Alex Hultman 0d9cb39db6 Silence warnings, check length 2020-06-06 20:26:59 +02:00
Alex Hultman b17aad916f Actually read proxied ip 2020-06-06 20:07:20 +02:00
Alex Hultman d5782fdb9c addressAsText, getRemoteProxiedAddress 2020-06-06 19:52:28 +02:00
Alex Hultman 2538cd18e9 Add WITH_PROXY flag 2020-06-06 12:59:40 +02:00
Alex Hultman e70bbb4fb6 Add basic proxy parser 2020-06-05 19:23:15 +02:00
Alex Hultman 9e3a75b19a Clean-ups 2020-06-04 13:19:25 +02:00
Alex Hultman df14af9713 Bump version mark to 18 2020-06-03 07:59:15 +02:00
Alex Hultman e4f81e16ea Don't set upgradedWebSocket outside the Http parser 2020-06-03 07:56:33 +02:00
Alex Hultman 625efbc499 Don't pass req in open handler 2020-06-02 12:59:36 +02:00
Alex Hultman 6735bad79c Pass UserData when upgrading 2020-06-02 12:55:05 +02:00
Alex Hultman cb48712b3d Make it stick together just barely 2020-06-02 12:40:51 +02:00
Alex Hultman a8539e7463 Move most upgrading into HttpResponse 2020-06-02 10:08:31 +02:00
Alex Hultman 4be90c0114 Add upgrade handler 2020-06-01 15:45:03 +02:00
Alex Hultman 8f7d642f3f Add shared compression for pub/sub 2020-05-28 23:24:52 +02:00
Alex HultmanandGitHub c6a2ee0554 Change mark, 17 2020-05-24 21:38:31 +02:00
Alex HultmanandGitHub fb7a3303d6 Clear no longer subscribed-to Topics when draining 2020-05-20 17:27:06 +02:00
Alex HultmanandGitHub 20b1676590 Skip sending rather than immediately close while publishing 2020-05-20 17:10:20 +02:00
Alex Hultman 7a000bffcf Add failing unit test for TopicTree 2020-05-08 14:05:06 +02:00
Alex HultmanandGitHub cdda308bc2 Silence an alert 2020-05-08 07:32:39 +02:00
Alex HultmanandGitHub 11aafd32f5 Always emit drain event in case of having no backpressure 2020-05-07 08:10:57 +02:00
Alex Hultman c1a969cedd Fix router in regards to empty url segments 2020-04-20 00:12:56 +02:00
Alex Hultman c7ac8c7e56 Store headers in bloom filter, respond to 100-continue 2020-04-06 02:48:11 +02:00
Alex Hultman 19db2093e5 Gracefully fail to listen if SSL cert/key was missing 2020-04-03 21:31:31 +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