Commit Graph
112 Commits
Author SHA1 Message Date
Alex Hultman 5dd1932f5f Salvage fallback buffer from burning house 2019-04-03 03:30:21 +02:00
Alex HultmanandGitHub 1680046963 Fix upgrade handshake 2019-03-10 05:14:16 +01:00
Alex Hultman b1de3a5135 Refactor Loop::defaultLoop() to Loop::get(), never use "default loops". 2019-03-02 03:04:07 +01:00
Alex Hultman 2afe6a6efb Only set sec-websocket-extensions if we have an offer 2019-03-01 15:43:20 +01:00
Alex Hultman b6173d68b4 Expose constructorFailed 2019-02-10 12:37:56 +01:00
Alex Hultman 02f20bf030 Add listen(host, port, callback) 2019-02-10 11:18:53 +01:00
Alex Hultman b5939da595 Refuse to compile if alignment of user data cannot be satisfied 2019-02-09 23:39:52 +01:00
Alex Hultman 0709ec05a6 Even zero is a valid content-length 2019-02-04 00:39:45 +01:00
Alex Hultman 4d06180041 Move mark from WebSockets down to HTTP 2019-01-26 21:55:24 +01:00
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