Commit Graph
122 Commits
Author SHA1 Message Date
Xie Han 20de93cf37 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-03-06 02:31:55 +08:00
Xie Han c7dc253cf6 Fix compiling error on macOS. 2024-03-06 02:22:21 +08:00
Xie Han ff08da425b Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-03-05 21:11:41 +08:00
Xie Han bc5512931a Fix warning. 2024-03-05 20:43:02 +08:00
Xie Han e084309f0f Update 'push' and 'feedback' for UDP server. 2024-03-05 20:43:02 +08:00
Xie Han 797e2d1014 Fix Communicator::shutdown() for UDP service session. 2024-03-05 20:43:02 +08:00
Xie Han e58581acb5 Support UDP server. 2024-03-05 20:43:02 +08:00
Xie Han cd98afcd6e Restore poller's 'accept' failed behavior. 2024-03-01 19:19:20 +08:00
Xie Han 0882a6c8d2 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-02-29 16:37:26 +08:00
Xie Han 341f66c829 Update poller behavior when 'accept' failed. 2024-02-29 16:33:23 +08:00
Xie Han 444547c874 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-01-09 17:49:16 +08:00
xiehan 0f6cc755a2 Fix some header files. (#1469) 2024-01-09 17:48:57 +08:00
Xie Han fc5b18ef4a Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-22 20:01:24 +08:00
xiehan 8fa0e05b40 ENCODE_IOV_MAX 8192 -> 2048 (#1430)
* ENCODE_IOV_MAX 8192 -> 2048

* Update tutorial-10-user_defined_protocol.md

* Update tutorial-10-user_defined_protocol.md
2023-11-22 20:00:57 +08:00
Xie Han 901881590e Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-17 22:26:28 +08:00
Xie Han e0b48a7173 Always lock when taking task to make code simpler. 2023-11-17 19:12:53 +08:00
Xie Han 0b240c0197 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-17 03:38:11 +08:00
Xie Han c9a65e4c76 Update list.h 2023-11-17 01:55:56 +08:00
Xie Han 7d01226400 Double check for safety. 2023-11-16 21:10:52 +08:00
Xie Han 82c629e178 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-15 21:04:17 +08:00
Xie Han b8d30d7288 Reduce locking in executor. 2023-11-15 03:39:00 +08:00
Xie Han 5383833783 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-14 21:30:43 +08:00
Xie Han 05e62219e2 Callback directly in poller_del_timer(). 2023-11-14 20:18:47 +08:00
Xie Han 0546ed42e9 Increase communicator's msgqueue maxlen. 2023-11-14 20:10:31 +08:00
Xie Han cc0d0622c2 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-07 20:17:50 +08:00
xiehan d0e0320adb Remove 'dup(0)' on macOS. (#1416) 2023-11-07 20:16:48 +08:00
Xie Han 5af28e7df6 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2023-11-06 16:40:49 +08:00
xiehan 7d34727de4 Simplify poller codes. (#1414) 2023-11-06 04:16:34 +08:00
Xie Han f5f7a61463 remove ssl 2023-10-20 23:25:17 +08:00
Xie Han c4049c0c44 Fix timer bug of accessing SleepSession after added to poller. 2023-10-16 15:00:53 +08:00
Xie Han c674c5cc1d Move callback out of the lock when poller stopped. 2023-10-16 01:31:04 +08:00
Xie Han 4c9e97c63e Change poller timer's state when finished. 2023-10-12 17:34:28 +08:00
Xie Han 769c9ae673 Enable canceling a SleepSession. 2023-10-12 00:17:48 +08:00
Xie Han fca72098d6 Update Communicator::shutdown(). 2023-08-11 23:39:57 +08:00
Xie Han e4b2d200bc Add Communicator::shutdown() for server task to close connection. 2023-08-10 21:38:53 +08:00
Xie Han 4dd82db8ca msgqueue maxlen set to 0 (unlimited). 2023-07-17 15:16:42 +08:00
Xie Han 3f7964b9e6 Do not set errno in msgqueue_get(). 2023-07-17 15:16:12 +08:00
Xie Han 37d97c3826 Simplify CommTarget::release(). 2023-07-14 04:48:23 +08:00
Xie Han 440112ffbf Add WFNetworkTask::closed() for checking if the server task's connection is still retained. 2023-07-14 03:06:56 +08:00
xiehan 0e2c12115a Global settings add fio_max_events. (#1284)
* Global settings add fio_max_events.

* Make 'fio_max_events' effects on thread aio too.

* Update about-config.md

* Update about-config.md

* Update about-config.md
2023-05-23 23:13:14 +08:00
Xie Han 1601c8b352 Just flip some codes. 2023-05-04 20:50:49 +08:00
XieHan 6e3572df2f PD_OP_RECV_MESSAGE->PD_OP_RECVFROM 2023-04-21 19:56:26 +08:00
XieHan 8d958c895c PD_OP_TIMER redefined to 0 because timer is special. 2023-04-13 00:50:53 +08:00
XieHan 6bc22aaaeb Unify naming. 2023-04-13 00:43:17 +08:00
Xie Han a08610eea3 Refactor. PD_OP_RECVFROM -> PD_OP_RECV_MESSAGE. 2023-04-12 23:48:49 +08:00
Xie Han a1059519ed Add PD_OP_RECVFROM for UDP server. 2023-04-11 23:02:24 +08:00
Xie Han 388452f391 'listen()' backlog at least 4096. 2023-03-28 18:24:22 +08:00
xiehan 701be47857 Revert "Clear SSL error state for handlers." (#1204) 2023-03-06 16:27:35 +08:00
Xie Han 959e705f17 Clear SSL error state for handlers. 2023-03-03 20:27:24 +08:00
XieHan ac015cd333 Simplify slist impl. 2022-12-16 23:08:00 +08:00