Commit Graph
204 Commits
Author SHA1 Message Date
Alex Hultman 586595e727 Fix up websocket close events 2019-01-22 11:22:22 +01:00
Alex Hultman 0934965fa5 Implement idleTimeout 2019-01-22 10:15:27 +01:00
Alex Hultman 85889153b9 Remove most debug prints 2019-01-22 09:41:48 +01:00
Alex Hultman 87aea5a28c Don't emit multiple parallel requests 2019-01-22 09:28:03 +01:00
Alex Hultman db98f81986 Proper move of App 2019-01-22 09:16:05 +01:00
Alex Hultman 98d329c912 Update uSockets 2019-01-21 19:07:44 +01:00
Alex Hultman 74a4048195 Align LoopData, HttpContextData 2019-01-21 08:40:21 -08:00
Alex Hultman 19aa6ec9af Implement hasResponded 2019-01-18 17:20:21 +01:00
Alex Hultman 2caefa9d96 We need HttpResponse::hasResponded 2019-01-18 16:36:24 +01:00
Alex Hultman 3c3819fe3c Implement Loop::setPreHandler 2019-01-17 09:59:55 +01:00
Alex Hultman 04281eeea6 onData as unique_function 2019-01-17 08:21:39 +01:00
Alex Hultman 2a62218d2a Disable onWritable debug prints 2019-01-17 06:51:35 +01:00
Alex Hultman 6718301ac9 Make onAborted unique_function 2019-01-17 06:30:47 +01:00
Alex Hultman 0ca061e772 Being extra clear with move 2019-01-15 08:09:50 +01:00
Alex Hultman 95cafc2c7b Try using function2 for HttpResponse::onWritable 2019-01-15 07:11:30 +01:00
Alex Hultman 8efea340e6 Add zlib to HttpServer build 2019-01-08 20:42:58 +01:00
Alex Hultman d8aeb0d312 Fix "last" onData flag of HttpParser 2019-01-08 06:34:59 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman e2b2168384 Remove dead code and comments 2019-01-07 03:22:04 +01:00
Alex Hultman 47467ab1e5 Pass "last" bool to res->onData 2019-01-07 03:05:19 +01:00
Alex Hultman 4fde553d03 Remove uWS::destroy() 2019-01-07 02:26:50 +01:00
Alex HultmanandGitHub 04437c5f74 Add compiling docs 2019-01-05 01:03:10 +01:00
Alex Hultman 4f3c031c39 Make sure UWS_NO_ZLIB, LIBUS_NO_SSL works 2019-01-05 00:52:45 +01:00
Alex Hultman c953d2b2bb Fix compiling on Windows without SSL 2019-01-05 00:39:46 +01:00
Alex Hultman 287c7dbe7f Add uWS::destroy calls to examples 2018-12-30 21:27:42 +01:00
Alex Hultman b65e9fd7d8 Add uWS::destroy() helper function 2018-12-30 21:19:08 +01:00
Alex Hultman 7afb3af614 Fake succeed all writes on closed socket (fix memory leak) 2018-12-30 21:08:54 +01:00
Alex Hultman cd6ab69140 Fix SSL destructor mistake 2018-12-30 18:12:19 +01:00
Alex Hultman ed7222e513 Fix last obvious leak 2018-12-30 18:02:57 +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 4407beedf7 Make sure to reset upgradedWebSocket each time 2018-12-30 13:56:04 +01:00
Alex Hultman 2c212f2fb4 Fix struct/class mismatch 2018-12-30 13:29:29 +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 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 1e5bb25d5c Minor main.cpp changes 2018-12-26 20:42:36 +01:00
Alex Hultman 9c037747ab Silence various unused- warnings 2018-12-26 20:41:18 +01:00
Alex Hultman 46537f6f2d Update uSockets 2018-12-26 19:18:42 +01:00
Alex Hultman c0af883bf9 Pull new uSockets with SSL fixes 2018-12-26 14:47:18 +01:00
Alex Hultman de53d12bfe Fix up getUserData 2018-12-26 14:35:09 +01:00
Alex Hultman fb95abad71 Update EchoServer example 2018-12-22 06:02:38 +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