Commit Graph
35 Commits
Author SHA1 Message Date
BotoXandAlex Hultman 8cd13833d9 Fix multithreaded loop clean-up, fixes #888 (#902)
* Fix multithreaded loop clean-up, fixes #888

* Style fixes
2019-06-18 22:21:30 +02:00
Alex Hultman 2714ffe8d6 Upgrade to uSockets 0.2.0a1 (experimental) 2019-06-11 19:16:46 +02:00
Alex Hultman 762b18459e Refactor a bit, put everything in uWS namespace 2019-06-09 07:53:43 +02: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 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 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 d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman 95478c906f Make Loop and LoopData only hold move-only functions 2019-01-23 12:26:33 +01:00
Alex Hultman 85889153b9 Remove most debug prints 2019-01-22 09:41:48 +01:00
Alex Hultman 3c3819fe3c Implement Loop::setPreHandler 2019-01-17 09:59:55 +01:00
Alex Hultman 614d02e462 Not my problem 2019-01-07 11:30:57 +01:00
Alex Hultman 4fde553d03 Remove uWS::destroy() 2019-01-07 02:26:50 +01:00
Alex Hultman b65e9fd7d8 Add uWS::destroy() helper function 2018-12-30 21:19:08 +01:00
Alex Hultman 339e2d72dc Fix more memory leaks 2018-12-30 17:43:11 +01:00
Alex Hultman 7a43906e1a Don't crash if there's no post handler 2018-11-07 10:56:22 +01:00
Alex Hultman bb5f805ee2 Fix up LoopData inplace init 2018-11-06 10:01:17 +01:00
Alex Hultman 894609e638 Pass opCode around, add Loop::setPostHandler 2018-11-04 10:44:11 +01:00
Alex Hultman 0d09d1db02 Multiple definitions 2018-11-04 08:59:34 +01:00
Alex Hultman ab6abaf2e6 Apache License 2.0 2018-10-29 00:13:52 +01:00
Alex Hultman 49f503c570 Reopen closed file fixes binary diffs 2018-09-23 23:52:12 +02:00
Alex Hultman 8106a0f628 Loop::defer and almost working async streaming 2018-09-23 21:48:29 +02:00
Alex Hultman 6fadfabec1 Add convenience wrapper App (again) 2018-09-15 23:56:30 +02:00
Alex Hultman 883bdfe7d7 Some clean-ups 2018-09-15 05:31:42 +02:00
Alex Hultman eee6e97fda Move files around 2018-09-15 05:04:34 +02:00
Alex Hultman 527089c621 Per-thread defaultLoop and uWS::run() 2018-09-15 04:50:07 +02:00
Alex Hultman bef8c3bc36 Add comments and AsyncSocketData 2018-09-11 20:37:33 +02:00
Alex Hultman 3af62041a1 Begin work on AsyncSocket 2018-09-11 19:41:32 +02:00
Alex Hultman eb7a73651f Shutdown idle HttpSockets, serve a complete website, etc 2018-08-05 01:03:50 +02:00
Alex Hultman a3dd3ef958 Lots of fixes, begin to think about timeouts 2018-07-02 23:13:55 +02:00
Alex Hultman 2be613d40b For some reason std:: string/vector memory is much slower! 2018-06-24 15:40:12 +02:00
Alex Hultman 0cbccaf08e Actually put headers, content-length and status in response 2018-06-24 01:27:40 +02:00
Alex Hultman a2fe871e63 Small refactor and interface update 2018-06-24 00:16:54 +02:00