Commit Graph

504 Commits (32d443b497c7d90d8fde45e9fd99efc31ce27d82)

Author SHA1 Message Date
YuQing 02b345deb9 set IOEVENT_READ | IOEVENT_WRITE events for connect status check 2020-09-14 15:14:25 +08:00
YuQing 17d3af8fd5 fixed sf_load_read_rule_config 2020-09-13 21:10:29 +08:00
YuQing 1e6d4da265 retry global section when item not exist 2020-09-13 13:22:51 +08:00
YuQing a57d52be92 extern function: sf_task_detach_thread 2020-09-12 21:32:50 +08:00
YuQing cabb6a897c add macro SF_NET_RETRY_CHECK_AND_SLEEP 2020-09-12 15:42:22 +08:00
YuQing f18626b229 net retry struct adjust 2020-09-11 22:55:27 +08:00
YuQing b02dae19be add func sf_load_read_rule_config 2020-09-10 20:48:01 +08:00
YuQing ae72705785 add sf_configs.[hc] 2020-09-10 20:30:08 +08:00
YuQing b60912bfd6 task nio_stage use atomic opt. 2020-09-09 14:46:58 +08:00
YuQing 9bee7ad62b add SF_NIO_STAGE_HANDSHAKE after connect 2020-09-07 21:46:07 +08:00
YuQing aaeb421e6d support connect for client mode 2020-09-06 18:55:10 +08:00
YuQing 638c5b16a3 sf_parse_daemon_mode_and_action: set default action to start 2020-08-31 10:53:11 +08:00
YuQing 9e0f2dda7b add function: sf_set_sig_quit_handler 2020-08-30 16:44:09 +08:00
YuQing e7ff5f487f set -Wformat-truncation=0 when gcc version >= 7 2020-08-30 11:19:12 +08:00
YuQing 2d41f58a6a add function sf_load_global_config_ex 2020-08-30 11:12:08 +08:00
YuQing 02adaac3e5 add func: sf_get_random_thread_data_ex 2020-07-15 09:23:22 +08:00
YuQing 8b11d63ac6 add func sf_enable_exit_on_oom 2020-07-11 17:41:00 +08:00
YuQing 43351fc67b use fastcommon/fc_memory.h 2020-07-07 10:33:51 +08:00
YuQing 88ba93d434 task free queue support init_callback 2020-05-06 16:04:52 +08:00
YuQing 86b369e218 check min/max buffer size 2020-04-26 15:17:24 +08:00
YuQing fcfe02896d use getPeerIpAddPort insteed of getPeerIpaddr 2020-03-26 11:37:32 +08:00
YuQing 17c51bce29 add global macros 2020-03-20 21:07:30 +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 46dfd4ad01 bugfixed: task_cleanup_func 2020-03-10 21:11:30 +08:00
YuQing 01d24d4838 add_to_deleted_list instead of cleanup directly 2020-03-09 10:55:13 +08:00
YuQing c0df88aabf correct compile error in Linux 2020-03-08 16:54:43 +08:00
YuQing 965c8277c7 use Linux eventfd for notify 2020-03-08 16:14:41 +08:00
YuQing 0f2b3a8e2c log config for multi instances 2020-03-07 11:30:12 +08:00
YuQing de6def01e4 support multi instance 2020-03-06 22:04:34 +08:00
YuQing e181349daa add function sf_nio_forward_request 2020-03-03 10:21:10 +08:00
YuQing 5825a64e72 add macro SF_CHOWN_RETURN_ON_ERROR 2020-02-25 21:28:49 +08:00
YuQing 01d16a3611 support custom config 2020-02-22 11:24:12 +08:00
YuQing 5d3d0cafa6 support task nio_stage 2020-02-09 17:19:29 +08:00
YuQing 092f253ff2 fix bind_addr logic 2019-09-23 19:49:57 +08:00
YuQing 22cbb30e29 sf_util.h add two logger functions 2018-11-20 19:10:43 +08:00
yuqing 430c92c88f correct vsnprintf for log_plus 2018-08-16 18:24:30 +08:00
yuqing 811ee077f1 remove sf_load_server_info and sf_parse_server_info to libfastcommon 2018-08-14 17:49:23 +08:00
yuqing b622ed6b63 change SFServerInfo to ConnectionInfo 2018-08-14 17:18:47 +08:00
yuqing 1928ae42cc add function sf_client_sock_in_read_stage 2018-07-30 10:56:48 +08:00
yuqing a112039aa4 use sched_generate_next_id 2018-07-27 17:55:35 +08:00
yuqing a64f3ffab4 add function sf_usage and sf_parse_daemon_mode_and_action 2018-07-20 17:16:06 +08:00
yuqing b27ecc4c1e id to index 2018-06-26 10:57:48 +08:00
yuqing 3c06e33be8 use int_to_comma_str to format size 2018-06-11 17:24:52 +08:00
yuqing c8f7a0d2e4 make.sh and Makefile.in changed 2018-05-22 17:39:06 +08:00
yuqing 7cad20223b make.sh and Makefile.in changed 2018-05-22 17:06:43 +08:00
yuqing e759b2d0f8 add sf_startup_schedule and sf_set_current_time 2018-05-15 15:17:41 +08:00
yuqing 5f7e472692 sf_log_config refined 2018-05-14 18:40:20 +08:00
yuqing 27b208c296 log log_level 2018-05-11 18:31:09 +08:00
yuqing bbc7e78e05 add sample.conf 2018-05-10 17:56:40 +08:00