Commit Graph

  • a419221a28 Fix up WebSocketContext.h Alex Hultman 2019-02-10 01:08:10 +01:00
  • f1bdbc968b First pass of overall cleanups Alex Hultman 2019-02-10 00:17:13 +01:00
  • cfac783cd9 Smaller TopicTree changes Alex Hultman 2019-02-09 23:47:34 +01:00
  • b5939da595 Refuse to compile if alignment of user data cannot be satisfied Alex Hultman 2019-02-09 23:39:52 +01:00
  • 127d3d6a14 res.tryEnd returns [ok, hasResponded] Alex Hultman 2019-02-09 23:31:04 +01:00
  • 3a41bb8e34 Fix up WebSocketExtensions.h as proper header Alex Hultman 2019-02-09 23:26:08 +01:00
  • b1b6b94ad5 Link to JavaScript examples Alex Hultman 2019-02-09 23:14:15 +01:00
  • 3fe7964e74 Properly unsubscribe from everywhere on close Alex Hultman 2019-02-09 09:29:29 +01:00
  • 6fe717f46a Some changes to pubsub Alex Hultman 2019-02-09 08:45:27 +01:00
  • f08bc8cd03 Initial pubsub preparatory work Alex Hultman 2019-02-09 01:00:17 +01:00
  • aaf1f05dcd Move in TopicTree from uTT Alex Hultman 2019-02-08 23:23:25 +01:00
  • e59ae7fd72 Add LICENSE.txt to src/f2 Alex Hultman 2019-02-06 23:11:26 +01:00
  • 0709ec05a6 Even zero is a valid content-length Alex Hultman 2019-02-04 00:39:45 +01:00
  • 5528e6f5fe Fix Http timeout regarding .end with backpressure Alex Hultman 2019-01-31 18:01:19 +01:00
  • 418b51f007 Add note regarding route order Alex Hultman 2019-01-30 11:56:49 +01:00
  • eaa9467d1f Don't write mark in the middle of streaming Alex Hultman 2019-01-29 17:15:06 +01:00
  • 359873f4ea Fix up Http pipelining check Alex Hultman 2019-01-29 16:18:08 +01:00
  • 7b87460c57 HttpResponseData has to be convertible to AsyncSocketData Alex Hultman 2019-01-29 16:11:42 +01:00
  • ca38ea1669 Port load_test to SSL/non-SSL uSockets API Alex Hultman 2019-01-28 18:20:39 +01:00
  • d4e767ac65 Shorten mark footprint Alex Hultman 2019-01-26 22:08:41 +01:00
  • 4d06180041 Move mark from WebSockets down to HTTP Alex Hultman 2019-01-26 21:55:24 +01:00
  • 92fb74b7e9 Remove last debug prints Alex Hultman 2019-01-26 19:02:29 +01:00
  • 1eaf69c566 More docs changes Alex Hultman 2019-01-26 18:49:33 +01:00
  • f0352b4685 Add info on open/close guarantee Alex Hultman 2019-01-26 18:33:46 +01:00
  • 7d990a3bc1 API CHANGE: ws.close -> ws.end, ws.terminate -> ws.close Alex Hultman 2019-01-26 17:20:47 +01:00
  • ba10536f50 Introduce WebSocket::terminate (todo: rename to close) Alex Hultman 2019-01-26 17:13:47 +01:00
  • 80322a5af7 Never parse messages while in shutdown Alex Hultman 2019-01-26 14:31:37 +01:00
  • d331ec3e45 Refactor using new uSockets API Alex Hultman 2019-01-25 14:15:40 +01:00
  • e14461e253 Fix up websocket writable behavior Alex Hultman 2019-01-24 18:01:20 +01:00
  • 7bb2dc848d Add simple user manual, add links & update wording Alex Hultman 2019-01-24 13:27:35 +01:00
  • a0eeb769c9 Carry over backpressure from Http to WS Alex Hultman 2019-01-24 11:53:10 +01:00
  • e653e9d314 Make HttpParser only handle move-only functions Alex Hultman 2019-01-23 12:31:25 +01:00
  • 95478c906f Make Loop and LoopData only hold move-only functions Alex Hultman 2019-01-23 12:26:33 +01:00
  • 91925ccc37 Make all websocket handlers move-only Alex Hultman 2019-01-23 12:19:44 +01:00
  • 02a6271980 Make all http routes move-only Alex Hultman 2019-01-23 12:09:19 +01:00
  • ce286017ee Make the router use move-only functions Alex Hultman 2019-01-23 11:51:38 +01:00
  • 9829f7fb37 Add concept of route yielding Alex Hultman 2019-01-22 18:30:25 +01:00
  • ed4e9f5c45 Experimental new router Alex Hultman 2019-01-22 17:56:49 +01:00
  • f4065b4e3b Add simple "any" route to catch any method Alex Hultman 2019-01-22 13:55:28 +01:00
  • 6d469cd8ba Add some important comments of bugs in adoption Alex Hultman 2019-01-22 13:23:40 +01:00
  • 586595e727 Fix up websocket close events Alex Hultman 2019-01-22 11:22:22 +01:00
  • 0934965fa5 Implement idleTimeout Alex Hultman 2019-01-22 10:15:27 +01:00
  • 85889153b9 Remove most debug prints Alex Hultman 2019-01-22 09:41:48 +01:00
  • 87aea5a28c Don't emit multiple parallel requests Alex Hultman 2019-01-22 09:28:03 +01:00
  • db98f81986 Proper move of App Alex Hultman 2019-01-22 09:16:05 +01:00
  • 98d329c912 Update uSockets Alex Hultman 2019-01-21 19:07:44 +01:00
  • 74a4048195 Align LoopData, HttpContextData Alex Hultman 2019-01-21 08:40:21 -08:00
  • 19aa6ec9af Implement hasResponded Alex Hultman 2019-01-18 17:20:21 +01:00
  • 2caefa9d96 We need HttpResponse::hasResponded Alex Hultman 2019-01-18 16:35:25 +01:00
  • 3c3819fe3c Implement Loop::setPreHandler Alex Hultman 2019-01-17 09:59:55 +01:00
  • 04281eeea6 onData as unique_function Alex Hultman 2019-01-17 08:21:39 +01:00
  • 2a62218d2a Disable onWritable debug prints Alex Hultman 2019-01-17 06:51:35 +01:00
  • 6718301ac9 Make onAborted unique_function Alex Hultman 2019-01-17 06:30:47 +01:00
  • 0ca061e772 Being extra clear with move Alex Hultman 2019-01-15 08:09:50 +01:00
  • 95cafc2c7b Try using function2 for HttpResponse::onWritable Alex Hultman 2019-01-15 07:11:30 +01:00
  • 8efea340e6 Add zlib to HttpServer build Alex Hultman 2019-01-08 20:42:58 +01:00
  • d8aeb0d312 Fix "last" onData flag of HttpParser Alex Hultman 2019-01-08 06:34:59 +01:00
  • 614d02e462 Not my problem Alex Hultman 2019-01-07 11:30:57 +01:00
  • e2b2168384 Remove dead code and comments Alex Hultman 2019-01-07 03:22:04 +01:00
  • 47467ab1e5 Pass "last" bool to res->onData Alex Hultman 2019-01-07 03:05:19 +01:00
  • 4fde553d03 Remove uWS::destroy() Alex Hultman 2019-01-07 02:26:50 +01:00
  • 04437c5f74 Add compiling docs Alex Hultman 2019-01-05 01:03:10 +01:00
  • 4f3c031c39 Make sure UWS_NO_ZLIB, LIBUS_NO_SSL works Alex Hultman 2019-01-05 00:52:45 +01:00
  • c953d2b2bb Fix compiling on Windows without SSL Alex Hultman 2019-01-05 00:39:46 +01:00
  • 287c7dbe7f Add uWS::destroy calls to examples Alex Hultman 2018-12-30 21:27:42 +01:00
  • b65e9fd7d8 Add uWS::destroy() helper function Alex Hultman 2018-12-30 21:19:08 +01:00
  • 7afb3af614 Fake succeed all writes on closed socket (fix memory leak) Alex Hultman 2018-12-30 21:08:54 +01:00
  • cd6ab69140 Fix SSL destructor mistake Alex Hultman 2018-12-30 18:12:19 +01:00
  • ed7222e513 Fix last obvious leak Alex Hultman 2018-12-30 18:02:57 +01:00
  • 339e2d72dc Fix more memory leaks Alex Hultman 2018-12-30 17:43:11 +01:00
  • 6618f7194b Fix a few memory leaks Alex Hultman 2018-12-30 17:17:22 +01:00
  • 4407beedf7 Make sure to reset upgradedWebSocket each time Alex Hultman 2018-12-30 13:56:04 +01:00
  • 2c212f2fb4 Fix struct/class mismatch Alex Hultman 2018-12-30 13:29:29 +01:00
  • d597041ca4 Don't leave content-length on empty response Alex Hultman 2018-12-29 14:27:50 +01:00
  • 6befbd4a37 Allow UWS_NO_ZLIB to work properly Alex Hultman 2018-12-29 14:00:26 +01:00
  • e70eb78ae3 Hook up maxPayloadLength for Zlib too Alex Hultman 2018-12-29 13:47:15 +01:00
  • 50de2cea89 Hook up maxPayloadLength, not for Zlib Alex Hultman 2018-12-29 13:32:49 +01:00
  • f5583b4a8a Remove per-platform byte swap, all portable now Alex Hultman 2018-12-28 15:47:09 +01:00
  • a7597772f8 Separate parser from formatter, make it build Alex Hultman 2018-12-28 14:16:28 +01:00
  • 59b3fee3fe Emit drain event, add comments, etc Alex Hultman 2018-12-28 13:14:57 +01:00
  • 44fbd44211 Emit close event for WebSockets Alex Hultman 2018-12-28 11:55:28 +01:00
  • 73b4fc384d Fix WebSocketContext::create sizeof bug Alex Hultman 2018-12-28 10:59:51 +01:00
  • 1e5bb25d5c Minor main.cpp changes Alex Hultman 2018-12-26 20:42:36 +01:00
  • 9c037747ab Silence various unused- warnings Alex Hultman 2018-12-26 20:41:18 +01:00
  • 46537f6f2d Update uSockets Alex Hultman 2018-12-26 19:18:42 +01:00
  • c0af883bf9 Pull new uSockets with SSL fixes Alex Hultman 2018-12-26 14:47:18 +01:00
  • de53d12bfe Fix up getUserData Alex Hultman 2018-12-26 14:35:09 +01:00
  • fb95abad71 Update EchoServer example Alex Hultman 2018-12-22 06:02:38 +01:00
  • 038111fb98 Add SHARED and DEDICATED compressor options Alex Hultman 2018-12-22 05:57:22 +01:00
  • f8e299c312 Add initial send compression Alex Hultman 2018-12-22 03:08:12 +01:00
  • a54aa23329 Remove ugly warning Alex Hultman 2018-12-21 05:58:13 +01:00
  • 3fa0fbc5fa Add a few more events Alex Hultman 2018-12-21 04:31:37 +01:00
  • 4a2cd93a22 Pass Autobahn with restored WS perf. Alex Hultman 2018-12-21 03:18:34 +01:00
  • 2a1fc55b58 Add EchoServer example Alex Hultman 2018-12-21 03:17:15 +01:00
  • 3e75936387 Begin restoring WebSocket performance Alex Hultman 2018-12-21 02:13:44 +01:00
  • 819a78976e Restore SSL build Alex Hultman 2018-12-19 13:03:31 +01:00
  • 6a77942066 Make WebSockets work on Windows Alex Hultman 2018-12-19 09:38:01 +01:00
  • 7c3585afee Use us_socket_is_closed, fix non-SSL/Windows build Alex Hultman 2018-12-19 09:22:05 +01:00
  • ff4f3341ad Don't be a dickhead alright Alex Hultman 2018-12-11 16:13:43 +01:00
  • 779896de97 Update README.md Alex Hultman 2018-11-30 11:02:55 +01:00