YuQing
|
a969a0df07
|
support address family IPv4, IPv6 and both
|
2023-11-29 18:52:02 +08:00 |
YuQing
|
5618afabbb
|
code adjust for pull request #6
|
2023-11-23 16:16:00 +08:00 |
YuQing
|
0e1fcdafce
|
Merge pull request #6 from sunqiangwei1988/master
Added: 增加IPv6支持
|
2023-11-23 15:58:43 +08:00 |
YuQing
|
951d010512
|
Merge branch 'master' into master
|
2023-11-23 15:58:26 +08:00 |
vazmin
|
9b6c64e346
|
gh actions: upgrade to 1.2.0-3
|
2023-11-21 14:36:16 +00:00 |
YuQing
|
413f6eef76
|
add function sf_global_init
|
2023-11-21 15:54:24 +08:00 |
vazmin
|
153905dc44
|
gh actions: upgrade to 1.2.0-2
|
2023-11-20 13:24:02 +00:00 |
vazmin
|
960e84e2b5
|
gh actions: upgrade to 1.2.0-1
|
2023-11-19 14:46:16 +00:00 |
YuQing
|
a9f4447686
|
log more info for sf_proto_set_body_length
|
2023-11-16 10:42:24 +08:00 |
YuQing
|
cf9088fb0c
|
use task->pending_send_count to prevent re-entry
|
2023-11-06 10:54:50 +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
|
a8867a19c4
|
sf_send_data_callback and sf_send_done_callback changed
|
2023-10-26 10:48:22 +08:00 |
YuQing
|
89a451b8ce
|
call set_read_event in func sf_nio_deal_task
|
2023-10-25 10:02:47 +08:00 |
YuQing
|
db00a7add8
|
set task recv offset and length correctly
|
2023-10-24 21:22:56 +08:00 |
YuQing
|
c3f7254838
|
add inited variable for run_by struct
|
2023-10-18 17:20:14 +08:00 |
YuQing
|
7f6e7b12b4
|
remove useless variable: length
|
2023-09-29 15:01:23 +08:00 |
YuQing
|
71e7066c81
|
invoke send done callback correctly
|
2023-09-29 14:59:58 +08:00 |
YuQing
|
5f5db2b998
|
support explicit post recv for RDMA
|
2023-09-28 22:20:52 +08:00 |
YuQing
|
60d6b49998
|
rdma callback get_buffer rename to get_recv_buffer
|
2023-09-27 11:23:50 +08:00 |
YuQing
|
a0fe474198
|
add functions: sf_xxxx_task_send/recv_buffer
|
2023-09-26 15:51:26 +08:00 |
YuQing
|
17c99cdd55
|
sf_nio_task_is_idle rename to sf_nio_task_send_done
|
2023-09-26 15:26:42 +08:00 |
YuQing
|
f8e3fcdc55
|
adapt to the newest struct fast_task_info from libfastcommon
|
2023-09-25 18:37:53 +08:00 |
YuQing
|
cd1920872a
|
sf_recv_response_header check recv length for rdma
|
2023-09-24 14:31:37 +08:00 |
YuQing
|
fee1e28348
|
SF_NIO_STAGE_CONNECT stage should call inc_connection_current_count
|
2023-09-22 18:44:32 +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
|
3c7ebd14d9
|
MUST call fast_timer_remove after ioevent_detach
|
2023-09-19 09:37:17 +08:00 |
YuQing
|
9fad04f3f9
|
nio threads support busy_polling_callback
|
2023-09-18 16:19:10 +08:00 |
YuQing
|
9731e736df
|
idempotency support RDMA
|
2023-09-15 10:39:03 +08:00 |
YuQing
|
0eb842dc09
|
sf_nio.c: check_task adapt to RDMA
|
2023-09-14 09:50:49 +08:00 |
YuQing
|
435ae6bb84
|
remove quotes for macro LOAD_API
|
2023-09-13 21:23:47 +08:00 |
YuQing
|
c6d4612862
|
send and recv data adapt for RDMA
|
2023-09-12 16:03:22 +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
|
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
|
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 |
vazmin
|
58a796e169
|
gh actions: upgrade to 1.1.29-1
|
2023-08-06 07:22:46 +00:00 |
YuQing
|
c21cc936ef
|
upgrade version to 1.1.29
|
2023-08-06 09:04:32 +08:00 |
YuQing
|
f9f7b0f159
|
add function sf_serializer_pack_id_name_skiplist
|
2023-08-05 20:48:40 +08:00 |
YuQing
|
e440273f35
|
sf_binlog_writer.c: flow control more rigorously
|
2023-07-30 10:11:00 +08:00 |
YuQing
|
27a7696867
|
bugfixed: sf_binlog_index.c call parse only when row_count > 0
|
2023-07-29 09:48:25 +08:00 |
YuQing
|
024a6b0e8a
|
improve robustness of binlog writer flow control
|
2023-07-27 10:54:59 +08:00 |
YuQing
|
6ce1a711f9
|
add inline function: sf_binlog_writer_get_waiting_count etc.
|
2023-07-26 10:35:58 +08:00 |
vazmin
|
3e3162c825
|
gh actions: upgrade to 1.1.28-1
|
2023-07-23 14:28:20 +00:00 |