Commit Graph

511 Commits

Author SHA1 Message Date
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 35c1a2292c uSockets v0.4.1 2020-06-23 20:56:29 -04:00
Alex Hultman 958c6af3f9 Update uSockets, fixing SSL builds 2020-06-23 20:41:49 -04:00
Alex Hultman f52d816032 Never compress 0 bytes, finish pub/sub ded. compr. 2020-06-22 07:10:43 +02:00
Alex Hultman e9e6d3fa34 Debug symbols for WITH_ASAN 2020-06-22 07:07:49 +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 ee3e184bfe Update uSockets 2020-06-20 23:54:32 +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 030758c2a9 Update MockedBroadcastingEchoServer.cpp 2020-06-20 22:22:54 +02:00
Alex Hultman 5edd01b666 Update MockedEchoServer 2020-06-16 13:12:41 +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 6ffb8a6bf7 Minor fuzz fix 2020-06-10 13:56:20 +02:00
alexhultman-2fa 676389b2a4 Update Http fuzzing 2020-06-10 13:50:18 +02:00
Alex Hultman 3d1ede1f52 Add HttpWithProxy fuzz target 2020-06-08 15:19:43 +02:00
Alex Hultman a4d192453a Fix TopicTree fuzz build 2020-06-08 15:17:05 +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 f8903ed32f Add UpgradeAsync example 2020-06-02 14:08:13 +02:00
Alex Hultman 9cb2fb404f Add UpgradeSync example 2020-06-02 13:16:10 +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 c897cca38c Make example compile 2020-06-02 09:36:39 +02:00
Alex Hultman 40190ec180 Merge branch 'master' into v18 2020-06-02 09:35:44 +02:00
Alex Hultman 85f02a73f9 Build examples in parallel 2020-06-02 05:26:32 +00:00
Alex Hultman 4be90c0114 Add upgrade handler 2020-06-01 15:45:03 +02:00
Alex Hultman 1699b214c5 Update TopicTree fuzzing 2020-06-01 14:51:50 +02:00
Alex Hultman 8f7d642f3f Add shared compression for pub/sub 2020-05-28 23:24:52 +02:00
Alex Hultman ac97fef5eb Add DESTDIR 2020-05-28 00:53:48 +02:00
Alex Hultman c6a2ee0554 Change mark, 17 2020-05-24 21:38:31 +02:00
Alex Hultman 99498f0eb4 Update to uSockets v0.4.0 2020-05-24 21:30:06 +02:00
Alex Hultman fb7a3303d6 Clear no longer subscribed-to Topics when draining 2020-05-20 17:27:06 +02:00
Alex Hultman 20b1676590 Skip sending rather than immediately close while publishing 2020-05-20 17:10:20 +02:00
Alex Hultman a58ea98d18 Update uSockets 2020-05-18 18:22:38 +02:00