Commit Graph

45 Commits (fa329720526f706bd5977c4ac6cc8103522d577e)

Author SHA1 Message Date
YuQing fa32972052 move use_io_uring and use_send_zc to struct sf_context 2025-11-04 15:40:00 +08:00
YuQing 3dcc1c570d call sf_proto_init_task_magic when task->shrinked 2025-10-03 21:06:58 +08:00
YuQing cf0950ea62 sf_set_read_event just skipped when use_io_uring is true 2025-10-03 11:33:26 +08:00
YuQing a2ab8a0c01 adapt Linux io_uring OK 2025-09-27 15:41:56 +08:00
YuQing 14d0a1c014 task init callback support extra argument 2024-09-15 12:06:25 +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 a969a0df07 support address family IPv4, IPv6 and both 2023-11-29 18:52:02 +08:00
YuQing 951d010512
Merge branch 'master' into master 2023-11-23 15:58:26 +08:00
YuQing 413f6eef76 add function sf_global_init 2023-11-21 15:54:24 +08:00
sunqiangwei1988 c619a5336d Added: 增加IPv6支持
1、增加检测主机是否配置IPv4地址和是否配置IPv6地址的方法。
2、修改sf_service.c文件中_socket_server方法,以支持IPv4和IPv6地址,当服务器为双栈时,优先选择IPv4地址。
2023-11-02 10:27:22 +08:00
YuQing 5f5db2b998 support explicit post recv for RDMA 2023-09-28 22:20:52 +08:00
YuQing f8e3fcdc55 adapt to the newest struct fast_task_info from libfastcommon 2023-09-25 18:37:53 +08:00
YuQing be9b71422f nio support callback connect_done for client 2023-09-22 18:27:12 +08:00
YuQing 3a413408ad add func sf_alloc_init_task_ex to specify reffer_count 2023-09-21 09:03:45 +08:00
YuQing 9fad04f3f9 nio threads support busy_polling_callback 2023-09-18 16:19:10 +08:00
YuQing dedc023235 add parameter comm_type when load from config 2023-09-07 09:38:21 +08:00
YuQing e22400fa1c struct fast_task_info support padding_size for RDMA connection 2023-09-05 09:21:45 +08:00
YuQing 5a29dffc50 load RDMA APIs from library 2023-09-05 07:27:15 +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 32706b6275 add function sf_socket_close 2023-05-10 20:29:14 +08:00
YuQing cf4856e04b support send_done_callback for FastDFS 2022-09-14 10:38:38 +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 d95e3ed679 remove debug info 2022-06-30 17:59:44 +08:00
YuQing d11243964b call writev for iovec array 2021-06-08 14:19:11 +08:00
YuQing eea7adde7c set thread name as necessary 2021-04-29 21:33:05 +08:00
YuQing 68db56790c add function sf_notify_all_threads_ex 2021-04-09 21:26:57 +08:00
YuQing 223f15fb79 add functions: sf_set_deal_task_func_ex etc. 2021-01-18 11:25:32 +08:00
YuQing 0012c2de92 change function sf_add_slow_log_schedule prototype 2020-12-30 16:23:39 +08:00
YuQing a05e343e9b slow log config and schedule 2020-12-29 21:20:35 +08:00
YuQing b9b5dd490d add function sf_strerror 2020-10-28 16:07:22 +08:00
YuQing 719f8b2b32 task use reffer_count for share 2020-10-28 14:16:58 +08:00
YuQing 38df5d412c add AGPLv3 license and copyright 2020-10-14 10:33:41 +08:00
YuQing aaeb421e6d support connect for client mode 2020-09-06 18:55:10 +08:00
YuQing 9e0f2dda7b add function: sf_set_sig_quit_handler 2020-08-30 16:44:09 +08:00
YuQing 02adaac3e5 add func: sf_get_random_thread_data_ex 2020-07-15 09:23:22 +08:00
YuQing 88ba93d434 task free queue support init_callback 2020-05-06 16:04:52 +08:00
YuQing 3b4aeff2d0 add realloc_task_buffer options 2020-03-16 13:09:11 +08:00
YuQing 115b1e7750 add function sf_enable_thread_notify_ex 2020-03-11 15:28:59 +08:00
YuQing de6def01e4 support multi instance 2020-03-06 22:04:34 +08:00
yuqing e759b2d0f8 add sf_startup_schedule and sf_set_current_time 2018-05-15 15:17:41 +08:00
yuqing de94afb9db put global variables into a struct 2018-05-10 15:00:45 +08:00
yuqing 6b69e90016 add codes 2018-05-10 11:05:08 +08:00