Commit Graph

70 Commits (aef9d803d154730fe192d11c6c0bea994110e6b5)

Author SHA1 Message Date
YuQing 7b3f6d620a use fc_safe_strcpy and fc_combine_two_string 2025-08-08 21:52:08 +08:00
YuQing 03f64998ce performance opt.: replace snprintf 2025-08-07 19:53:38 +08:00
YuQing ba87f8e1ea performance opt.: replace sprintf 2025-08-04 16:57:35 +08:00
YuQing da2ddc7441 sf_log_config for client correctly 2025-04-23 15:17:23 +08:00
YuQing 42c6e2c6b7 struct sf_context add field is_client for RDMA callback alloc_pd 2024-09-20 14:16:59 +08:00
YuQing 7f6ad6dcba sf_load_context_from_config_ex support max_pkg_size_min_value 2024-02-26 16:17:41 +08:00
YuQing 78d65ba2c6 net buffer config for each sf_context instance 2024-02-20 09:53:52 +08:00
YuQing c2e7b6e711 add function sf_set_address_family_by_ip 2023-12-05 08:16:54 +08:00
YuQing a969a0df07 support address family IPv4, IPv6 and both 2023-11-29 18:52:02 +08:00
YuQing 413f6eef76 add function sf_global_init 2023-11-21 15:54:24 +08:00
YuQing c3f7254838 add inited variable for run_by struct 2023-10-18 17:20:14 +08:00
YuQing 5f5db2b998 support explicit post recv for RDMA 2023-09-28 22:20:52 +08:00
YuQing be9b71422f nio support callback connect_done for client 2023-09-22 18:27:12 +08:00
YuQing 9fad04f3f9 nio threads support busy_polling_callback 2023-09-18 16:19:10 +08:00
YuQing 435ae6bb84 remove quotes for macro LOAD_API 2023-09-13 21:23:47 +08:00
YuQing fca50e6d49 sf_load_config support fixed_buff_size 2023-09-11 11:36:30 +08:00
YuQing 2463725570 use the newest conn_pool_init_ex1 from libfastcommon 2023-09-10 20:55:46 +08:00
YuQing 12637bf181 set rdma handler listen port 2023-09-08 07:58:46 +08:00
YuQing dedc023235 add parameter comm_type when load from config 2023-09-07 09:38:21 +08:00
YuQing b3334d2ad5 add function sf_set_body_length 2023-09-05 16:45:51 +08:00
YuQing 5a29dffc50 load RDMA APIs from library 2023-09-05 07:27:15 +08:00
YuQing 2839183433 move type SFNetworkType to libfastcommon as FCNetworkType 2023-09-04 11:01:36 +08:00
YuQing 36e4922440 callbacks impl. for socket 2023-09-03 18:35:31 +08:00
YuQing 96c7bc9a42 function prototype for socket and rdma both 2023-09-03 11:50:50 +08:00
YuQing 7f758fd293 init epoll_edge_trigger to false 2023-02-12 12:20:06 +08:00
YuQing 3ccec6eb36 add function sf_load_data_path_config_ex 2022-12-21 15:45:03 +08:00
YuQing 4f3cde053c auto create base_path when it not exist 2022-09-21 11:37:51 +08:00
YuQing b7b346ea7f sf_load_global_config_ex add params: max_pkg_size_item_name and need_set_run_by 2022-09-14 10:40:44 +08:00
YuQing 5ee8ce8fe7 correct macro function sf_service_init 2022-09-03 10:03:09 +08:00
YuQing 2ebb51dcfd support alloc_recv_buffer callback 2022-08-25 18:22:16 +08:00
YuQing 3257a5f842 function sf_get_base_path_from_conf_file impl. 2022-08-20 09:59:36 +08:00
YuQing 22ffe6841d change default values of log_file_rotate_everyday and log_file_keep_days 2022-06-18 18:19:35 +08:00
YuQing 8de3678e86 sf_load_global_config_ex: server_name can be NULL 2022-03-03 10:00:29 +08:00
YuQing 3e4ddce4a2 add function sf_load_global_base_path 2022-02-26 10:05:25 +08:00
YuQing 837e35ccc8 change default connect timeout from 10 to 2 2021-07-04 18:21:32 +08:00
YuQing 65876c51d7 section names use minus(-) such as error-log and slow-log 2021-07-04 10:11:45 +08:00
YuQing 2a57961b59 support error handler callback 2021-06-30 21:22:57 +08:00
YuQing c1f6fb797b change macro SF_G_BASE_PATH to SF_G_BASE_PATH_STR 2021-05-27 07:58:26 +08:00
YuQing 5befb9d616 add function sf_set_global_base_path 2021-05-25 18:48:33 +08:00
YuQing 561b7c8d7c upgrade version to V1.1.8 2021-05-25 18:32:08 +08:00
YuQing c841d6c1b0 change default values 2021-05-23 21:36:43 +08:00
YuQing e93f6aa506 set max_pkg_size correctly
output size parameters more gracefully
2021-05-11 12:11:37 +08:00
YuQing eea7adde7c set thread name as necessary 2021-04-29 21:33:05 +08:00
YuQing a05e343e9b slow log config and schedule 2020-12-29 21:20:35 +08:00
YuQing fc5480214a unify log relative configs 2020-12-29 16:25:19 +08:00
YuQing a6b9d8d08d TCP_SET_QUICK_ACK for Linux 2020-12-06 17:00:14 +08:00
YuQing 9f7af9b35d use iniGetByteCorrectValueEx to get byte value 2020-12-03 10:30:17 +08:00
YuQing e01048f462 network buff_size support extra size 2020-12-01 21:00:06 +08:00
YuQing 5c6cff1ea3 check and correct thread_stack_size 2020-10-20 20:40:55 +08:00
YuQing 38df5d412c add AGPLv3 license and copyright 2020-10-14 10:33:41 +08:00