Commit Graph
105 Commits
Author SHA1 Message Date
Alex Hultman e70eb78ae3 Hook up maxPayloadLength for Zlib too 2018-12-29 13:47:15 +01:00
Alex Hultman 50de2cea89 Hook up maxPayloadLength, not for Zlib 2018-12-29 13:32:49 +01:00
Alex Hultman f5583b4a8a Remove per-platform byte swap, all portable now 2018-12-28 15:47:09 +01:00
Alex Hultman a7597772f8 Separate parser from formatter, make it build 2018-12-28 14:16:28 +01:00
Alex Hultman 59b3fee3fe Emit drain event, add comments, etc 2018-12-28 13:14:57 +01:00
Alex Hultman 44fbd44211 Emit close event for WebSockets 2018-12-28 11:55:28 +01:00
Alex Hultman 73b4fc384d Fix WebSocketContext::create sizeof bug 2018-12-28 10:59:51 +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 4a2cd93a22 Pass Autobahn with restored WS perf. 2018-12-21 03:18:34 +01:00
Alex Hultman 3e75936387 Begin restoring WebSocket performance 2018-12-21 02:13:44 +01:00
Alex Hultman 6a77942066 Make WebSockets work on Windows 2018-12-19 09:38:01 +01:00
Alex Hultman 7c3585afee Use us_socket_is_closed, fix non-SSL/Windows build 2018-12-19 09:22:05 +01:00
Alex Hultman 9d0e4f4771 Pass entire Autobahn over SSL 2018-11-29 20:57:31 +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 8bf87c9147 Don't crash on Autobahn testing 2018-11-21 19:09:42 +01:00
Alex Hultman 7a43906e1a Don't crash if there's no post handler 2018-11-07 10:56:22 +01:00
Alex Hultman bb5f805ee2 Fix up LoopData inplace init 2018-11-06 10:01:17 +01:00
Alex Hultman 894609e638 Pass opCode around, add Loop::setPostHandler 2018-11-04 10:44:11 +01:00
Alex Hultman 0d09d1db02 Multiple definitions 2018-11-04 08:59:34 +01:00
Alex Hultman 57255c874d Hook up AsyncSocket with WebSocket 2018-10-30 03:26:43 +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 eb5cd17c78 Add fast enough WebSocket benchmark 2018-10-30 01:47:10 +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 a54b4c8419 Make sure to writeStatus before writeHeader 2018-10-28 16:26:48 +01:00
Alex Hultman c0eaf297ed Fix HttpResponse::write with timeout & internalEnd comments 2018-10-28 03:54:16 +01:00
Alex Hultman 4059dd644c Abort logic fixes 2018-10-28 02:08:01 +01:00
Alex Hultman 99d73a9d65 Timeout and drainage logic 2018-10-28 02:47:56 +02:00
Alex Hultman 005243c8de HttpResponse::internalEnd for end & tryEnd 2018-10-28 02:26:08 +02:00
Alex Hultman f558bce8ca New AsyncSocket interface with bool failure 2018-10-28 00:46:28 +02:00
Alex Hultman 8cfda9f4b0 Handle socket closing, shutdown, error & (upgrade) in HTTP handlers 2018-10-17 22:23:25 +02:00
Alex Hultman 8105c65fa6 Add all HTTP methods 2018-10-16 23:55:25 +02:00
Alex Hultman bb77fac1fc Add some benchmarking comments 2018-10-16 23:16:46 +02:00
Alex Hultman 5e5d0de0e9 Hook up req->getParameter 2018-10-05 00:10:43 +02:00
Alex Hultman be0eb69597 Fix the router (todo: req->getParameter hook up) 2018-10-04 04:05:43 +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 b514da14ca Almost working async file streamer 2018-09-29 21:35:28 +02:00
Alex Hultman 5a1de2039c Fix up async file streaming 2018-09-29 19:42:35 +02:00
Alex Hultman 18316d7852 Fix AsyncSocket buffering mistake 2018-09-28 14:24:00 +02:00
Alex Hultman 2c511ec904 More work on new streams 2018-09-27 23:44:46 +02:00