Commit Graph

173 Commits

Author SHA1 Message Date
Xie Han dc348afecb Merge branch 'master' of https://github.com/sogou/workflow into nossl 2025-01-01 20:57:07 +08:00
xiehan 305dbeb746 Simplify service session's state. (#1676) 2025-01-01 20:54:43 +08:00
Xie Han e02d4e8981 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-12-28 19:13:59 +08:00
xiehan 75c662c3ed Set service session's passive state more precisely. (#1675) 2024-12-28 19:13:44 +08:00
Xie Han 4dbe18a8ec Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-12-28 02:52:12 +08:00
xiehan e18b9b536f Fix UDP server bug that server does't reply. (#1674) 2024-12-28 02:51:55 +08:00
Xie Han 3655f3aeda Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-12-16 00:51:02 +08:00
xiehan 0c1d96aad6 Check node 'removed' flag before next read. (#1670)
* Check node 'removed' flag before next read.

* Add __poller_close_pfd().
2024-12-16 00:50:47 +08:00
Xie Han 5be666f3e9 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-12-08 03:46:28 +08:00
xiehan ca70076b69 Fix closing fd 0 error on macOS. (#1666) 2024-12-08 03:46:15 +08:00
Xie Han 6b0fd18e2a Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-11-24 19:35:12 +08:00
xiehan 05168d9eab Fix poller memleak when malloc failed. (#1661) 2024-11-24 19:34:55 +08:00
Xie Han 1ecc6c4328 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-11-22 02:42:52 +08:00
xiehan 14ac26c655 Remove forward declaration. (#1659) 2024-11-22 02:42:36 +08:00
Xie Han e058c78d34 Merge branch 'master' of https://github.com/sogou/workflow into nossl 2024-11-18 17:12:27 +08:00
xiehan edb8212f4a Add permanent timer, for deleting only. (#1655) 2024-11-18 17:12:10 +08:00
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