YuQing
|
2ebb51dcfd
|
support alloc_recv_buffer callback
|
2022-08-25 18:22:16 +08:00 |
YuQing
|
5da65a172c
|
request_metadata.c: check data_version > 0 for performance
|
2022-07-08 11:23:32 +08:00 |
YuQing
|
b8f7a86060
|
avoid writev iovcnt overflow
|
2021-06-08 15:40:49 +08:00 |
YuQing
|
d11243964b
|
call writev for iovec array
|
2021-06-08 14:19:11 +08:00 |
YuQing
|
67b412fb88
|
bugfixed: MUST set stage to SF_NIO_STAGE_NONE first for re-entry
|
2021-02-10 21:38:45 +08:00 |
YuQing
|
11165cbb20
|
log NULL continue_callback with SF_NIO_STAGE_CONTINUE
|
2021-02-09 22:25:32 +08:00 |
YuQing
|
a6b9d8d08d
|
TCP_SET_QUICK_ACK for Linux
|
2020-12-06 17:00:14 +08:00 |
YuQing
|
acf27b0e4f
|
use newest fast_timer in libfastcommon
|
2020-11-23 11:46:22 +08:00 |
YuQing
|
4a92e31272
|
sf_nio_notify more graceful
|
2020-11-09 09:18:25 +08:00 |
YuQing
|
42c8a65a8f
|
logDebug when then nio stage equals to the target
|
2020-10-28 16:21:09 +08:00 |
YuQing
|
719f8b2b32
|
task use reffer_count for share
|
2020-10-28 14:16:58 +08:00 |
YuQing
|
946bd8fe46
|
clear nio_stages.notify when task canceled
|
2020-10-27 08:56:31 +08:00 |
YuQing
|
99f80b847e
|
sf_load_read_rule_config support default value
|
2020-10-25 20:40:14 +08:00 |
YuQing
|
e0bba18a02
|
use atomic operation to avoid reentrance
|
2020-10-21 09:32:49 +08:00 |
YuQing
|
1854683ddd
|
nio stage change to 2 fields: current and notify
|
2020-10-19 16:39:43 +08:00 |
YuQing
|
38df5d412c
|
add AGPLv3 license and copyright
|
2020-10-14 10:33:41 +08:00 |
YuQing
|
6ccf936ee5
|
add function: sf_terminate_myself
|
2020-09-30 19:30:12 +08:00 |
YuQing
|
6cecfaa949
|
fixed printf format for port
|
2020-09-27 09:09:28 +08:00 |
YuQing
|
62a35f03d5
|
add macro sf_nio_notify_silence
|
2020-09-22 17:26:46 +08:00 |
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
|
a57d52be92
|
extern function: sf_task_detach_thread
|
2020-09-12 21:32:50 +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
|
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
|
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
|
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
|
a64f3ffab4
|
add function sf_usage and sf_parse_daemon_mode_and_action
|
2018-07-20 17:16:06 +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 |