Commit Graph

31 Commits (V1.0.64)

Author SHA1 Message Date
YuQing 599d0f1446 add global var g_set_cloexec and macro FC_SET_CLOEXEC 2022-06-25 11:23:43 +08:00
YuQing e254b8e1d3 open file with flag O_CLOEXEC 2022-06-24 18:52:39 +08:00
YuQing 1f83e66306 add function conn_pool_get_connection_ex to support service name 2022-05-08 11:26:17 +08:00
YuQing 630a6a2af6 add function conn_pool_connect_server_ex1 to support service name 2022-05-07 16:53:02 +08:00
YuQing 9f1d1b6d48 rename hash_xxx to fc_hash_xxx 2022-02-09 22:35:40 +08:00
YuQing 3e0f1eb1fc fast_mblock_init_ex1: unify obj name 2021-07-20 20:27:48 +08:00
YuQing 0995f447cb bugfixed: cpool_node object pool must use lock 2020-12-01 21:05:45 +08:00
YuQing 56a5ac4f92 modify license to LGPLv3 and copyright 2020-10-14 11:03:46 +08:00
YuQing 118f1e2e2e correct printf format for port 2020-09-27 09:24:32 +08:00
YuQing 7d5512682b fixed printf format for port 2020-09-27 08:53:57 +08:00
YuQing a749b84ce2 sockopt.[hc]: add function asyncconnectserverbyip 2020-09-06 18:49:15 +08:00
YuQing 98b816c625 fast_mblock.[hc]: support alloc elements limit 2020-09-01 21:22:13 +08:00
YuQing e4a5cadfe1 connection info support extra data 2020-04-26 20:19:46 +08:00
YuQing c8bf9f24ef connection_pool support validate connection on error 2020-04-26 11:12:52 +08:00
YuQing 3e3bcda2df add functions fc_floor_prime and fc_ceil_prime 2020-02-27 15:31:44 +08:00
YuQing 81e6455819 add tests/test_server_id_func.c 2020-02-15 20:55:57 +08:00
YuQing 938a6a7fac modify website name 2019-11-23 10:03:54 +08:00
YuQing 9534dfba56 change function conn_pool_connect_server_ex 2019-10-08 09:39:05 +08:00
YuQing 69463768ea add function conn_pool_connect_server_ex 2019-09-30 21:22:19 +08:00
YuQing 83f572820e log more info when socket bind fail 2019-09-29 14:55:50 +08:00
yuqing 74e00bb244 add function conn_pool_parse_server_info and conn_pool_load_server_info 2018-08-14 17:44:55 +08:00
yuqing 5416c29a27 set err_no to 0 when success 2018-05-10 11:35:56 +08:00
yuqing 6682b9842e conn_pool_init compatable 2016-05-18 11:18:15 +08:00
yuqing 3eb39e834c connect by ip and connection pool support ipv6 2016-05-18 10:40:36 +08:00
yuqing 094f3900c1 inet_aton to inet_pton 2016-05-17 21:22:08 +08:00
yuqing 07d9cfa9b8 bug fixed: caused by memory organize 2014-09-16 16:55:39 +08:00
yuqing 65d0e0223c bug fixed: caused by memory organize 2014-09-16 16:50:36 +08:00
yuqing 01b4969913 bug fixed: caused by memory organize 2014-09-16 16:44:37 +08:00
yuqing acc17549ee conn_pool_destroy close connections and free memory 2014-09-15 14:43:42 +08:00
yuqing 701bc391bc bug fixed: connection pool should NOT increase counter when connect fail 2014-06-27 15:12:41 +08:00
yuqing d168878643 add connection pool 2014-06-17 09:47:04 +08:00