Commit Graph
157 Commits
Author SHA1 Message Date
Xie Han e7aedbaf3a Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-08-09 22:56:14 +08:00
xiehan ef1a526ccd Use CommSession::first_timeout() when message was renewed in append(). (#1603) 2024-08-09 22:55:52 +08:00
Xie Han b9153ba069 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-07-28 18:21:38 +08:00
Xie Han 3e8f57160a Fix 'sendto()' failure on a connected UDP socket. 2024-07-28 18:19:45 +08:00
Xie Han 4853193805 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-07-25 23:01:53 +08:00
Xie Han 557b515a7f Make Communicator::push() works with multiple message wrappers. 2024-07-25 23:01:39 +08:00
Xie Han 19c453a347 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-07-22 04:25:19 +08:00
xiehan e64c02ec16 Enable 'push()' on an active session. (#1590) 2024-07-22 04:00:47 +08:00
Xie Han 528ccb465a Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-07-15 02:17:42 +08:00
xiehan a8078aeac1 Fix timeout problem when server message 'renew()' in append(). (#1589) 2024-07-15 02:17:22 +08:00
xiehan 1cbbec12c1 Fix SSL_write error bug when sending large message. (#1585) 2024-07-06 02:41:20 +08:00
Xie Han 67cd9f4e99 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-06-20 17:33:28 +08:00
Xie Han 719eefd757 Support preadv/pwritev for multi-thread file IO. 2024-06-20 17:33:06 +08:00
Xie Han a92f7bfaba Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-06-14 19:09:30 +08:00
xiehan f6d46a9ed9 Make sure the communicator can be deinitialized in session's 'handle()'. (#1574) 2024-06-14 19:08:11 +08:00
Xie Han dad1436d8f Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-06-11 02:53:27 +08:00
Xie Han 5988d6e84e Fix problem when calling 'deinit' in a handler thread. 2024-06-11 02:52:04 +08:00
xiehan 9f9e8a2b12 Enable decreasing handler threads. (#1568)
* Enable decreasing handler threads.

* Fix memleak when deinit if handler thread number is zero.
2024-06-10 17:03:23 +08:00
Xie Han 7cb6a0b873 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-05-28 17:57:33 +08:00
Xie Han 16686bab71 Enable increasing/decreasing compute threads. 2024-05-28 17:32:51 +08:00
Xie Han 30a78d30b3 Add thrdpool_decrease(). 2024-05-28 17:29:12 +08:00
Xie Han fec3f6ced8 Add msgqueue_put_head(). 2024-05-28 17:29:12 +08:00
Xie Han 2a43ce1562 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-05-21 01:51:43 +08:00
xiehan c2eb095c09 Use 'pthread_equal()' to compare thread id. 2024-05-21 01:51:23 +08:00
xiehan 4cb0995e1f SSL_CTX_up_ref() only on openSSL 1.1 or above. (#1535) 2024-04-23 16:45:30 +08:00
Xie Han e55ac75d6f Up SSL_CTX reference in CommSchedTarget. 2024-04-22 14:26:07 +08:00
Xie Han a714b7b247 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-03-31 01:05:25 +08:00
xiehan bc874c142e Rename an internal function. (#1513) 2024-03-31 01:04:54 +08:00
Xie Han 1178a805aa Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-03-27 23:07:23 +08:00
Xie Han ecfbed1139 Remove redundant assignment. 2024-03-27 22:58:36 +08:00
Xie Han 7cc8cefcb3 Move 'reliable' attribute to CommService. 2024-03-27 21:06:44 +08:00
Xie Han 7249adde3f Simplify Communicator's codes. 2024-03-27 17:23:59 +08:00
Xie Han 287dc386b8 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-03-08 00:25:14 +08:00
Xie Han a6d94c030b Fix warning on Linux. 2024-03-06 21:39:48 +08:00
Xie Han d4e791d91d Remove unused variable. 2024-03-06 02:42:01 +08:00
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