Commit Graph
258 Commits
Author SHA1 Message Date
Alex Hultman 2afe6a6efb Only set sec-websocket-extensions if we have an offer 2019-03-01 15:43:20 +01:00
Alex HultmanandGitHub 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 HultmanandGitHub d1f1b646f2 Add gobwas/ws to benchmark results 2019-02-13 09:56:59 +01:00
Alex HultmanandGitHub 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 HultmanandGitHub 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 HultmanandGitHub 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 HultmanandGitHub 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
Alex Hultman 7b87460c57 HttpResponseData has to be convertible to AsyncSocketData 2019-01-29 16:11:42 +01:00
Alex Hultman ca38ea1669 Port load_test to SSL/non-SSL uSockets API 2019-01-28 18:20:39 +01:00
Alex Hultman d4e767ac65 Shorten mark footprint 2019-01-26 22:08:41 +01:00
Alex Hultman 4d06180041 Move mark from WebSockets down to HTTP 2019-01-26 21:55:24 +01:00
Alex Hultman 92fb74b7e9 Remove last debug prints 2019-01-26 19:02:29 +01:00
Alex HultmanandGitHub 1eaf69c566 More docs changes 2019-01-26 18:49:33 +01:00
Alex HultmanandGitHub f0352b4685 Add info on open/close guarantee 2019-01-26 18:33:46 +01:00
Alex Hultman 7d990a3bc1 API CHANGE: ws.close -> ws.end, ws.terminate -> ws.close 2019-01-26 17:20:47 +01:00
Alex Hultman ba10536f50 Introduce WebSocket::terminate (todo: rename to close) 2019-01-26 17:13:47 +01:00
Alex Hultman 80322a5af7 Never parse messages while in shutdown 2019-01-26 14:31:37 +01:00
Alex Hultman d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman e14461e253 Fix up websocket writable behavior 2019-01-24 18:01:20 +01:00
Alex Hultman 7bb2dc848d Add simple user manual, add links & update wording 2019-01-24 13:27:35 +01:00
Alex Hultman a0eeb769c9 Carry over backpressure from Http to WS 2019-01-24 11:53:10 +01:00
Alex Hultman e653e9d314 Make HttpParser only handle move-only functions 2019-01-23 12:31:25 +01:00
Alex Hultman 95478c906f Make Loop and LoopData only hold move-only functions 2019-01-23 12:26:33 +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 ce286017ee Make the router use move-only functions 2019-01-23 11:51:38 +01:00