Commit Graph

277 Commits

Author SHA1 Message Date
Alex Hultman 9fb3580785 Fix up benchmarks for new uSockets 2019-03-13 17:05:56 +01:00
Alex Hultman 0e0d796cfd Also fuzz the extensions negotiator 2019-03-13 16:59:04 +01:00
Alex Hultman a9c9dd4a7d Fix wildcard routing precedence bug, fuzz router 2019-03-13 11:01:23 +01:00
Alex Hultman c5863b67ce Update uS 2019-03-10 14:08:47 +01:00
Alex Hultman 9d6d4d5c99 Don't include method/url in header iteration 2019-03-10 13:34:41 +01:00
Alex Hultman 0212ee5bd0 Allow iteration over headers 2019-03-10 12:43:31 +01:00
Alex Hultman 1680046963 Fix upgrade handshake 2019-03-10 05:14:16 +01:00
Alex Hultman cd899fb988 Update README.md 2019-03-09 14:36:37 +01:00
Alex Hultman a8184c3844 Fix fuzzing 2019-03-09 14:08:15 +01:00
Alex Hultman 3b3b1d70c6 Add Http fuzzing 2019-03-09 12:01:59 +01:00
Alex Hultman 2ba5d06bdf Add fuzz testing 2019-03-09 11:31:34 +01:00
Alex Hultman 9f35abf383 Link to uWS.js 2019-03-03 23:49:43 +01:00
Alex Hultman 6a8bbc0327 Update uS 2019-03-03 07:52:34 +01:00
Alex Hultman 495ccfc076 Update uS, add AsyncSocket::getRemoteAddress() 2019-03-03 07:40:44 +01:00
Alex Hultman 35e6bad33b Tweak Loop::get for "default" loops 2019-03-02 04:36:06 +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 6801ab8969 Add threaded websocket server, skip broken examples 2019-03-01 18:10:44 +01:00
Alex Hultman 4fd895c8e7 Add HelloWorldThreaded and (actually) fix race 2019-03-01 18:00:14 +01:00
Alex Hultman 940980f501 Fix race in defaultLoop 2019-03-01 16:14:53 +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 b4b4225fb3 Update README.md 2019-02-27 18:54:02 +01:00
Alex Hultman d17eb0c71c Update uS to v0.1.2 2019-02-21 20:29:15 +01:00
Alex Hultman 4db0cd5527 What about making it compile 2019-02-21 14:05:15 +01:00
Alex Hultman 73ddb42a9e Timeout clients sending http body data too slow 2019-02-21 13:59:42 +01:00
Alex Hultman 588d6558e7 Emit isLast onData cb if we have no data 2019-02-21 13:51:40 +01:00
Alex Hultman 7ff9f9b04c Ping every 16 seconds in scale_test 2019-02-19 16:45:14 +01:00
Alex Hultman b2a8ccfa7a Add scale_test to benchmarks 2019-02-19 11:44:59 +01:00
Alex Hultman d1f1b646f2 Add gobwas/ws to benchmark results 2019-02-13 09:56:59 +01:00
Alex Hultman a74ad8aeb3 Add Deno websocket benchmark results 2019-02-13 03:05:46 +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 399318f866 Disable TopicTree for now 2019-02-10 02:11:11 +01:00
Alex Hultman 3e4e70da20 Make it compile 2019-02-10 01:22:24 +01:00
Alex Hultman a419221a28 Fix up WebSocketContext.h 2019-02-10 01:08:10 +01:00
Alex Hultman f1bdbc968b First pass of overall cleanups 2019-02-10 00:17:13 +01:00
Alex Hultman cfac783cd9 Smaller TopicTree changes 2019-02-09 23:47:34 +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 127d3d6a14 res.tryEnd returns [ok, hasResponded] 2019-02-09 23:31:04 +01:00
Alex Hultman 3a41bb8e34 Fix up WebSocketExtensions.h as proper header 2019-02-09 23:26:08 +01:00
Alex Hultman b1b6b94ad5 Link to JavaScript examples 2019-02-09 23:14:15 +01:00
Alex Hultman 3fe7964e74 Properly unsubscribe from everywhere on close 2019-02-09 09:29:29 +01:00
Alex Hultman 6fe717f46a Some changes to pubsub 2019-02-09 08:45:27 +01:00
Alex Hultman f08bc8cd03 Initial pubsub preparatory work 2019-02-09 01:00:17 +01:00
Alex Hultman aaf1f05dcd Move in TopicTree from uTT 2019-02-08 23:23:25 +01:00
Alex Hultman e59ae7fd72 Add LICENSE.txt to src/f2 2019-02-06 23:11:26 +01:00
Alex Hultman 0709ec05a6 Even zero is a valid content-length 2019-02-04 00:39:45 +01:00
Alex Hultman 5528e6f5fe Fix Http timeout regarding .end with backpressure 2019-01-31 18:01:19 +01:00
Alex Hultman 418b51f007 Add note regarding route order 2019-01-30 11:56:49 +01:00
Alex Hultman eaa9467d1f Don't write mark in the middle of streaming 2019-01-29 17:15:06 +01:00
Alex Hultman 359873f4ea Fix up Http pipelining check 2019-01-29 16:18:08 +01:00