Commit Graph
53 Commits
Author SHA1 Message Date
Alex Hultman d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman a0eeb769c9 Carry over backpressure from Http to WS 2019-01-24 11:53:10 +01:00
Alex Hultman 91925ccc37 Make all websocket handlers move-only 2019-01-23 12:19:44 +01:00
Alex Hultman 02a6271980 Make all http routes move-only 2019-01-23 12:09:19 +01:00
Alex Hultman 9829f7fb37 Add concept of route yielding 2019-01-22 18:30:25 +01:00
Alex Hultman f4065b4e3b Add simple "any" route to catch any method 2019-01-22 13:55:28 +01:00
Alex Hultman 6d469cd8ba Add some important comments of bugs in adoption 2019-01-22 13:23:40 +01:00
Alex Hultman 0934965fa5 Implement idleTimeout 2019-01-22 10:15:27 +01:00
Alex Hultman db98f81986 Proper move of App 2019-01-22 09:16:05 +01:00
Alex Hultman 2caefa9d96 We need HttpResponse::hasResponded 2019-01-18 16:36:24 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman c953d2b2bb Fix compiling on Windows without SSL 2019-01-05 00:39:46 +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 d597041ca4 Don't leave content-length on empty response 2018-12-29 14:27:50 +01:00
Alex Hultman 6befbd4a37 Allow UWS_NO_ZLIB to work properly 2018-12-29 14:00:26 +01:00
Alex Hultman 50de2cea89 Hook up maxPayloadLength, not for Zlib 2018-12-29 13:32:49 +01:00
Alex Hultman de53d12bfe Fix up getUserData 2018-12-26 14:35:09 +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 3fa0fbc5fa Add a few more events 2018-12-21 04:31:37 +01:00
Alex Hultman 3e769fb841 Pass a big portion of Autobahn over SSL 2018-11-29 09:59:03 +01:00
Alex Hultman 6c9ac88f50 Add basic permessage-deflate, pass entire Autobahn 2018-11-29 08:37:31 +01:00
Alex Hultman a25e2ab397 A bit of clean-ups and license fixes 2018-11-22 01:29:28 +01:00
Alex Hultman fb70cf78e1 New interface a la designated initializers 2018-11-22 00:20:38 +01:00
Alex Hultman 519c1f5b60 Some clean-ups 2018-11-21 23:19:20 +01:00
Alex Hultman 91620c6c42 (Just barely) pass Autobahn tests chapter 1 - 10 2018-11-21 22:46:17 +01:00
Alex Hultman 894609e638 Pass opCode around, add Loop::setPostHandler 2018-11-04 10:44:11 +01:00
Alex Hultman f2e2b7107a Wrap up messageHandler, send(message) 2018-10-30 03:01:19 +01:00
Alex Hultman 292476366c Make WebSockets benchmarkable 2018-10-30 01:53:28 +01:00
Alex Hultman 1613c5020d Initial WebSocket hook up 2018-10-29 23:06:32 +01:00
Alex Hultman ab6abaf2e6 Apache License 2.0 2018-10-29 00:13:52 +01:00
Alex Hultman 8105c65fa6 Add all HTTP methods 2018-10-16 23:55:25 +02:00
Alex Hultman 7d06bef485 Fix up router, add .post route 2018-10-03 19:36:46 +02:00
Alex Hultman d4ca158495 Add .unhandled route 2018-10-03 18:35:20 +02:00
Alex Hultman ee81e9b0b0 Remove old commented out code 2018-09-26 21:40:22 +02:00
Alex Hultman 7a67f57be0 Add static Http server example, fix wildcards 2018-09-17 02:52:10 +02:00
Alex Hultman 6fadfabec1 Add convenience wrapper App (again) 2018-09-15 23:56:30 +02:00
Alex Hultman baa58c9e90 Hook up router, delete old code 2018-09-10 23:58:52 +02:00
Alex Hultman 18c9fe0911 I forgot what I did 2018-09-02 21:10:01 +02:00
Alex Hultman ffdfc8274f Hook up WebSocket parsers somewhat 2018-08-30 01:14:34 +02:00
Alex Hultman 6edb189d0d Start hooking up various modules 2018-08-28 21:42:21 +02:00
Alex Hultman 1d94e90dd7 Port to uSockets v0.0.4 2018-08-28 06:42:04 +02:00
Alex Hultman eb7a73651f Shutdown idle HttpSockets, serve a complete website, etc 2018-08-05 01:03:50 +02:00
Alex Hultman 20f0a2debe Add timeouts, make SSL paths identical to non-SSL 2018-07-03 18:11:24 +02:00
Alex Hultman a3dd3ef958 Lots of fixes, begin to think about timeouts 2018-07-02 23:13:55 +02:00
Alex Hultman df2a48f042 Make tests 2018-07-02 21:56:21 +02:00
Alex Hultman 999ae69bed Move HttpParser into own module 2018-06-30 00:17:31 +02:00
Alex Hultman aea255f72c Rough skeleton for proper HTTP parsing 2018-06-26 21:48:22 +02:00
Alex Hultman 2be613d40b For some reason std:: string/vector memory is much slower! 2018-06-24 15:40:12 +02:00