Commit Graph
100 Commits
Author SHA1 Message Date
Alex Hultman 1c237bfec8 Do not use Z_FINISH in permessage-deflate 2019-07-28 21:57:31 +00:00
Alex HultmanandGitHub 7040a80738 Update README.md 2019-07-21 23:34:47 +02:00
Alex HultmanandGitHub f4b7e9ee70 Fix undefined store in formatMessage 2019-07-08 09:07:28 +02:00
Alex HultmanandGitHub 24b15097ad More investigation 2019-06-27 20:47:56 +02:00
Alex HultmanandGitHub ff285785b1 Investigation continues 2019-06-26 20:58:24 +02:00
Alex HultmanandGitHub 734229a546 Try and figure out where things break 2019-06-25 21:37:25 +02:00
Alex Hultman 2007a630f5 Update uSockets, improve Makefile 2019-06-22 19:29:22 +02:00
Alex Hultman d18b45bf9e Quick "fix" using static_assert 2019-06-22 13:11:29 +02:00
Alex Hultman cb8231fcc2 Fix integer overflow for now 2019-06-22 13:05:45 +02:00
Alex Hultman bec0ab1831 Cover more code in mocked hello world 2019-06-22 12:43:33 +02:00
Alex Hultman 248df5cf65 Clean up fuzzing Makefile 2019-06-21 13:43:02 +02:00
Alex Hultman 441a1d33ea Trigger even more code while fuzzing 2019-06-21 13:27:13 +02:00
Alex HultmanandGitHub c0d8b383cc Enable permessage-deflate while fuzzing 2019-06-21 00:37:04 +02:00
Alex HultmanandGitHub 7e3118ae73 Update README.md 2019-06-21 00:27:25 +02:00
Alex Hultman e6908aeec2 Re-enable experimental pub/sub support 2019-06-20 20:37:20 +02:00
Alex Hultman 158fb9ef5a Rather use last byte to determine what to do 2019-06-19 23:15:17 +02:00
Alex Hultman 29761db349 Cover more code, fix leak due to not emitting close while mocking 2019-06-19 22:48:13 +02:00
Alex Hultman 9faa44ca53 Add "make all" building fuzz, benchmarks and all examples 2019-06-18 22:37:40 +02:00
Alex Hultman dfe0df6586 Loop over data in chunks of 0-255 while mocking 2019-06-18 18:46:23 +02:00
Alex Hultman 7a5365543a Move oss-fuzz building rules to here 2019-06-16 15:20:18 +02:00
Alex Hultman 8e20f490ea Update uSockets 2019-06-16 14:23:27 +02:00
Alex Hultman bb6ba4368b Update to uSockets v0.2.0 2019-06-16 13:25:42 +02:00
Alex Hultman c102034870 Add MockedEchoServer fuzz target, fix App capture of moving this 2019-06-16 12:53:19 +02:00
Alex HultmanandGitHub 48cca47c63 Update Http.cpp 2019-06-15 21:53:31 +02:00
Alex HultmanandGitHub e6f21a8354 Update Http.cpp 2019-06-15 21:39:14 +02:00
Alex HultmanandGitHub 7551339a52 Update Http.cpp 2019-06-15 21:37:41 +02:00
Alex HultmanandGitHub cb12320483 Update helpers.h 2019-06-14 21:56:06 +02:00
Alex HultmanandGitHub a87df76f91 Update HttpParser.h 2019-06-13 21:20:22 +02:00
Alex HultmanandGitHub a11df69fea Update uSocketsMock.c 2019-06-13 20:14:03 +02:00
Alex Hultman 4f803182ec Update uS 2019-06-12 12:49:25 +02:00
Alex Hultman c5c0242830 Update benchmarks to compile with uSockets 0.2.0 2019-06-12 11:24:01 +02:00
Alex Hultman afe63d6f25 Fix oss-fuzz reported issues 2019-06-12 10:58:29 +02:00
Alex Hultman 28e0f24f2f Update uSocketsMock.c to the 0.2.0 interfaces 2019-06-11 19:31:58 +02:00
Alex Hultman 2714ffe8d6 Upgrade to uSockets 0.2.0a1 (experimental) 2019-06-11 19:16:46 +02:00
Alex HultmanandGitHub ce66e6c13c Update README.md 2019-06-10 02:15:13 +02:00
Alex Hultman 5098ec279f Compile uSocketsMock as C 2019-06-10 01:19:18 +02:00
Alex Hultman 72ad34075e Try and fix ubsan complaints 2019-06-10 00:44:50 +02:00
Alex Hultman 2c85dc51c6 Use LLVMFuzzerInitialize instead 2019-06-10 00:16:30 +02:00
Alex Hultman 47dd5a49ac Add MockedHelloWorld fuzz target with uSocketsMock.c 2019-06-09 23:44:17 +02:00
Alex HultmanandGitHub 2c19e4f221 Add mocking idea 2019-06-09 22:01:02 +02:00
Alex Hultman 8329285ef1 Add PerMessageDeflate fuzz target 2019-06-09 21:52:53 +02:00
Alex HultmanandGitHub bc6ea664b1 Add files via upload 2019-06-09 11:05:16 +02:00
Alex Hultman 12ec7a6234 Fix up fuzzing 2019-06-09 09:45:30 +02:00
Alex Hultman 5e787b19b3 Make all examples compile with GCC on Ubuntu 2019-06-09 09:32:55 +02:00
Alex Hultman 996703dde6 Make everything struct, never use class 2019-06-09 08:07:51 +02:00
Alex Hultman 762b18459e Refactor a bit, put everything in uWS namespace 2019-06-09 07:53:43 +02:00
Alex HultmanandGitHub 3b36ea3a45 Strip ? from getQuery 2019-05-23 13:46:38 +02:00
Alex Hultman 93b6971bf7 Update uS 2019-04-17 22:25:59 +02:00
Alex Hultman ba5f656041 Don't pass zero length host as host, update uS 2019-04-17 22:07:55 +02:00
Alex Hultman 31574ec63a Actually make it build, fix simple warning 2019-04-16 17:13:10 +02:00
Alex Hultman 799fe89a9b Add experimental HttpResponse::cork 2019-04-16 16:59:28 +02:00
Alex Hultman c1ea38ae10 Quick-fix GCC build 2019-04-16 14:33:38 +02:00
Alex Hultman 7ea680e187 Fix misaligned websocket reads 2019-04-15 22:15:45 +02:00
Alex Hultman b36607dac6 Guarantee to end http parsing after websocket upgrade 2019-04-04 00:21:27 +02:00
Alex Hultman 41ed5e3990 Fuzz WebSockets in chunks 2019-04-03 03:51:15 +02:00
Alex Hultman 5dd1932f5f Salvage fallback buffer from burning house 2019-04-03 03:30:21 +02:00
Alex Hultman d4bf6346df Guarantee SSO is not applicable to fallback buffer 2019-04-03 03:17:02 +02:00
Alex Hultman 7f35d06920 Add fuzzing/helpers.h 2019-04-03 03:00:49 +02:00
Alex Hultman cd00bfc779 Fuzz Http in chunks 2019-04-03 02:59:24 +02:00
Alex HultmanandGitHub af9513e3e4 Update README.md 2019-03-13 18:00:26 +01:00
Alex HultmanandGitHub c42e54780c Update README.md 2019-03-13 17:41:54 +01:00
Alex Hultman ea0d6a0b3d Also fuzz handshakes 2019-03-13 17:21:05 +01:00
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 HultmanandGitHub 1680046963 Fix upgrade handshake 2019-03-10 05:14:16 +01:00
Alex HultmanandGitHub 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 HultmanandGitHub 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 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