YuQing
|
3e192fae09
|
fc_timedwait_ms must call get_current_time_ms()
|
2020-12-11 11:36:12 +08:00 |
YuQing
|
0cd65f088c
|
tcp_quick_ack option for Linux
|
2020-12-06 16:59:09 +08:00 |
YuQing
|
ff7109fcd4
|
add function: get_current_time_ns
|
2020-12-04 19:33:21 +08:00 |
YuQing
|
85354b6ef6
|
add functions: iniGetByteValueEx and iniGetIntCorrectValueEx
|
2020-12-02 18:10:45 +08:00 |
YuQing
|
5a04c1c656
|
timer_modify check new_expires
|
2020-12-02 13:57:28 +08:00 |
YuQing
|
0995f447cb
|
bugfixed: cpool_node object pool must use lock
|
2020-12-01 21:05:45 +08:00 |
YuQing
|
3d74837527
|
add tests/test_data_visible.c
|
2020-11-30 10:50:29 +08:00 |
YuQing
|
93e6cec05d
|
locked_timer: atomic opt for lock_index
|
2020-11-29 21:52:49 +08:00 |
YuQing
|
b236808a69
|
set entry status and index correctly in add_entry
|
2020-11-26 22:41:29 +08:00 |
YuQing
|
1189c97d8e
|
fast_timer.h restore to NO lock version
|
2020-11-26 17:26:43 +08:00 |
YuQing
|
8718818dc0
|
add locked_timer.[hc]: time wheel timer with lock
|
2020-11-26 16:18:37 +08:00 |
YuQing
|
f5028fcbe0
|
fast_timer.[hc]: support lock for option
|
2020-11-23 11:45:33 +08:00 |
YuQing
|
58e1aea32b
|
add function: fc_queue_empty
|
2020-11-03 22:09:42 +08:00 |
YuQing
|
5f9bfd8bae
|
add function: iniGetPercentValueEx
|
2020-10-31 14:19:21 +08:00 |
YuQing
|
2e85b7ad9d
|
add functions: fc_timedwait_xxx
|
2020-10-29 21:10:03 +08:00 |
YuQing
|
1ac8c8f3c2
|
fast_task_info add fields: reffer_count and continue_callback
|
2020-10-28 11:59:37 +08:00 |
YuQing
|
d54007f79b
|
check poll result for POLLHUP and POLLERR
|
2020-10-25 20:42:53 +08:00 |
YuQing
|
bb33b2e09f
|
notify field: add volatile modifier
|
2020-10-21 09:30:53 +08:00 |
YuQing
|
5b6bb3193b
|
fast_task_queue.h: change nio_stage field
|
2020-10-19 16:35:36 +08:00 |
YuQing
|
56a5ac4f92
|
modify license to LGPLv3 and copyright
|
2020-10-14 11:03:46 +08:00 |
YuQing
|
fa8f93b018
|
add function skiplist_get_proper_level
|
2020-10-10 11:11:42 +08:00 |
YuQing
|
0aab6a0531
|
correct spell iovent to ioevent :(
|
2020-09-30 18:57:08 +08:00 |
YuQing
|
dc40977500
|
sched_thread.c: sched_add_entries gracefully
|
2020-09-29 22:18:30 +08:00 |
YuQing
|
118f1e2e2e
|
correct printf format for port
|
2020-09-27 09:24:32 +08:00 |
YuQing
|
7d5512682b
|
fixed printf format for port
|
2020-09-27 08:53:57 +08:00 |
YuQing
|
082a322f3d
|
change port type to uint16_t
|
2020-09-27 08:46:46 +08:00 |
YuQing
|
55fc4013b3
|
add function fc_get_last_lines
|
2020-09-26 11:15:57 +08:00 |
YuQing
|
dc43f8254a
|
remove useless logInfo
|
2020-09-21 22:27:16 +08:00 |
YuQing
|
556b7337c4
|
add file src/fc_atomic.h
|
2020-09-14 15:05:38 +08:00 |
YuQing
|
23d8adf05f
|
ini support retry gloabal section when item not exist
|
2020-09-13 13:20:41 +08:00 |
YuQing
|
bc5efd235e
|
add function fc_sleep_ms
|
2020-09-12 15:41:16 +08:00 |
YuQing
|
6a54076cf5
|
change field nio_stage from char to short
|
2020-09-09 12:26:43 +08:00 |
YuQing
|
488e483d22
|
schedule waiting_schedule_array use atomic opt
|
2020-09-08 18:53:08 +08:00 |
YuQing
|
130d7fe110
|
add func conn_pool_compare_ip_and_port
|
2020-09-08 09:06:26 +08:00 |
YuQing
|
a749b84ce2
|
sockopt.[hc]: add function asyncconnectserverbyip
|
2020-09-06 18:49:15 +08:00 |
YuQing
|
d9b914ea6e
|
set rlim_max for setrlimit call
|
2020-09-04 09:09:14 +08:00 |
YuQing
|
98b816c625
|
fast_mblock.[hc]: support alloc elements limit
|
2020-09-01 21:22:13 +08:00 |
YuQing
|
6eb2d1c2e7
|
shared_func.[hc]: add function fc_path_contains
|
2020-08-31 16:02:10 +08:00 |
YuQing
|
3ff6cd8844
|
ini_file_reader.h: add struct ini_full_context
|
2020-08-29 15:44:17 +08:00 |
YuQing
|
cc80f721f2
|
add functions: fc_get_first_line and fc_get_last_line
|
2020-08-24 11:35:31 +08:00 |
YuQing
|
f776a818f4
|
correct old_value in the log info
|
2020-08-22 12:02:23 +08:00 |
YuQing
|
c2d8faaba7
|
thread pool enhance
|
2020-08-05 15:00:37 +08:00 |
YuQing
|
4b085fbc09
|
add functions: get thread counters
|
2020-07-22 17:54:14 +08:00 |
YuQing
|
29586005ba
|
add files: thread_pool.[hc]
|
2020-07-20 18:03:47 +08:00 |
YuQing
|
8e0f5794d9
|
add files: shared_buffer.[hc]
|
2020-07-10 21:44:10 +08:00 |
YuQing
|
4aad4f78b9
|
add files: fc_memory.[hc]
|
2020-07-07 10:32:16 +08:00 |
YuQing
|
ec22ab681e
|
bugfixed: uniq_addresses use FCAddressPtrArray
|
2020-06-28 19:26:42 +08:00 |
YuQing
|
fb03bf23ba
|
add fc_queue.[hc]
|
2020-06-01 16:38:48 +08:00 |
YuQing
|
473b1e7218
|
add function: fc_get_umask
|
2020-05-29 14:32:42 +08:00 |
YuQing
|
7187840167
|
add src/tests/test_file_lock.c
|
2020-05-24 15:11:31 +08:00 |
YuQing
|
d1f1bf97e1
|
add function uniq_skiplist_replace_ex
|
2020-05-21 18:10:28 +08:00 |
YuQing
|
85aff01e5e
|
test_crc32.c support offset and size
|
2020-05-17 15:54:41 +08:00 |
YuQing
|
b9cae5de7f
|
add macro PTHREAD_MUTEX_LOCK
|
2020-05-10 20:29:05 +08:00 |
YuQing
|
7149a54128
|
use mutex lock when access dynamic content array
|
2020-05-07 16:41:21 +08:00 |
YuQing
|
54cb8f8415
|
free_queue support init_callback
|
2020-05-06 16:04:01 +08:00 |
YuQing
|
87d7b1f55d
|
add fc_list_first_entry
|
2020-05-05 11:13:00 +08:00 |
YuQing
|
e86767c120
|
add function fc_list_add_before
|
2020-05-02 21:12:51 +08:00 |
YuQing
|
73dba84e82
|
uniq_skiplist_grow set prev link correctly
|
2020-04-27 14:16:00 +08:00 |
YuQing
|
e4a5cadfe1
|
connection info support extra data
|
2020-04-26 20:19:46 +08:00 |
YuQing
|
c8bf9f24ef
|
connection_pool support validate connection on error
|
2020-04-26 11:12:52 +08:00 |
YuQing
|
4011fcb39e
|
add test_file_write_hole.c
|
2020-04-24 22:15:41 +08:00 |
YuQing
|
688fcf4b74
|
uniq_skiplist add some macro defines
|
2020-04-22 20:27:21 +08:00 |
YuQing
|
759fd117d8
|
uniq_skiplist support bidirection
|
2020-04-21 09:31:04 +08:00 |
YuQing
|
4e53bd3e2d
|
skiplist add function find_ge
|
2020-04-10 10:19:53 +08:00 |
YuQing
|
01b1841fda
|
add function fc_get_file_line_count_ex
|
2020-03-31 10:10:49 +08:00 |
YuQing
|
201daee3b6
|
mblock_manager_stat_print format
|
2020-03-30 23:20:55 +08:00 |
YuQing
|
c6ddfb98a1
|
correct int64_t compare result
|
2020-03-30 19:00:00 +08:00 |
YuQing
|
46da99bbba
|
mblock stat type: int to int64_t
|
2020-03-30 18:44:34 +08:00 |
YuQing
|
0810cb4d21
|
bugfixed: allocator_array_check_capacity alloc size
|
2020-03-29 22:03:13 +08:00 |
YuQing
|
427818d005
|
fast_mblock stats refine
|
2020-03-29 12:30:42 +08:00 |
YuQing
|
590aa8d3a0
|
bugfixed: call fast_mblock_destroy in common_blocked_queue_destroy
|
2020-03-28 23:12:02 +08:00 |
YuQing
|
2df796589c
|
add function common_blocked_queue_push_ex
|
2020-03-26 19:04:41 +08:00 |
YuQing
|
d3b0c5dfb0
|
add function fast_buffer_set_capacity
|
2020-03-26 15:51:31 +08:00 |
YuQing
|
c2837fde5f
|
add functions getIpAndPort and getPeerIpAndPort
|
2020-03-26 11:36:44 +08:00 |
YuQing
|
da4c9a2581
|
common_blocked_queue_return_nodes
|
2020-03-23 21:54:31 +08:00 |
YuQing
|
6d88bb980d
|
bugfixed: must use lock when free_all_nodes
|
2020-03-22 13:21:20 +08:00 |
YuQing
|
edb8b2c4dd
|
sched_add_entries use temp ScheduleArray for rare case
|
2020-03-21 09:50:03 +08:00 |
YuQing
|
21336eee3e
|
add function fc_init_buffer
|
2020-03-13 15:09:08 +08:00 |
YuQing
|
4d653d1b3e
|
add functions: create_work_threads_ex and fc_create_thread
|
2020-03-12 10:36:51 +08:00 |
YuQing
|
3d0956d302
|
nio_thread_data support thread notify
|
2020-03-10 21:16:27 +08:00 |
YuQing
|
f9881d96b7
|
add canceled field for complicated thread model
|
2020-03-09 10:51:46 +08:00 |
YuQing
|
b88d5b03fe
|
add waiting_queue for Linux eventfd notify
|
2020-03-08 16:12:54 +08:00 |
YuQing
|
6b528f123f
|
add ctx pointer for libserverframe nio
|
2020-03-06 22:06:35 +08:00 |
YuQing
|
d87d98dbe0
|
add function fast_char_unescape
|
2020-03-04 20:54:50 +08:00 |
YuQing
|
773f1bc28c
|
shared_func.[hc]: add functions getFileSize
|
2020-03-03 10:19:53 +08:00 |
YuQing
|
8005b18198
|
fast_allocator.[hc]: add function fast_allocator_strdup
|
2020-02-27 22:26:17 +08:00 |
YuQing
|
3e3bcda2df
|
add functions fc_floor_prime and fc_ceil_prime
|
2020-02-27 15:31:44 +08:00 |
YuQing
|
74bcd17360
|
in func writeToFile: change write to fc_safe_write
|
2020-02-25 21:25:29 +08:00 |
YuQing
|
a57b87b556
|
common_blocked_queue support pop all nodes
|
2020-02-24 21:57:05 +08:00 |
YuQing
|
faa1b6ddf2
|
multi_socket_client support timeout in ms
|
2020-02-22 15:53:50 +08:00 |
YuQing
|
fd4368e6e2
|
bugfixed: use new_addr instead of addr
|
2020-02-21 20:45:20 +08:00 |
YuQing
|
6e5511614d
|
add function fc_server_check_connect_ex
|
2020-02-20 16:03:28 +08:00 |
YuQing
|
89ad53974f
|
add uniq server addresses
|
2020-02-19 15:49:39 +08:00 |
YuQing
|
11a441e1f8
|
server_id_func.[hc] OK
|
2020-02-17 16:25:42 +08:00 |
YuQing
|
81e6455819
|
add tests/test_server_id_func.c
|
2020-02-15 20:55:57 +08:00 |
YuQing
|
7459f7ded4
|
add files: server_id_func.[hc]
|
2020-02-14 21:21:42 +08:00 |
YuQing
|
5d3c3c576c
|
add function fast_mpool_log_stats
|
2020-02-12 19:11:52 +08:00 |
YuQing
|
d6b0f1b0c4
|
add function is_network_error
|
2020-02-09 17:17:37 +08:00 |
YuQing
|
798244cc1b
|
add function fc_memrchr
|
2020-02-08 09:19:10 +08:00 |
YuQing
|
90e61572c0
|
fast_mblock.[hc]: add init_args for init_func
|
2020-02-03 22:42:27 +08:00 |
YuQing
|
a6066181ae
|
add function split_string_ex
|
2020-02-02 20:49:57 +08:00 |
YuQing
|
1c7069068b
|
add src/tests/test_uniq_skiplist.c
|
2020-01-21 10:06:48 +08:00 |
YuQing
|
91e0124ae5
|
add uniq_skiplist.[hc]
|
2020-01-19 22:40:46 +08:00 |
YuQing
|
916ad1f9e0
|
add test file src/tests/test_pthread_lock.c
|
2020-01-19 15:52:23 +08:00 |
YuQing
|
c8c75666cf
|
upgrade version to 1.43
|
2019-12-25 20:35:44 +08:00 |
YuQing
|
12dde730c8
|
add function fc_delete_file_ex
|
2019-12-25 15:20:07 +08:00 |
YuQing
|
ad57015174
|
add buffered_file_writer.[hc] files
|
2019-12-25 10:47:07 +08:00 |
YuQing
|
2992bfc4be
|
add buffered_file_writer.[hc]
|
2019-12-25 10:41:58 +08:00 |
YuQing
|
1302c5306a
|
correct function skiplist_iterator in skiplist.h
|
2019-12-24 08:52:31 +08:00 |
YuQing
|
41e4e6f079
|
replace function call system to getExecResult
|
2019-12-06 11:49:35 +08:00 |
YuQing
|
b7dde81d1e
|
function create_work_threads changed
|
2019-12-03 21:20:41 +08:00 |
YuQing
|
414f20fa61
|
init compress_log_days_before to 1
|
2019-12-01 20:34:12 +08:00 |
YuQing
|
22a6115c4e
|
delete old file refine
|
2019-11-30 16:23:46 +08:00 |
YuQing
|
d818e59009
|
add function get_gzip_command_filename
|
2019-11-30 15:33:59 +08:00 |
YuQing
|
938a6a7fac
|
modify website name
|
2019-11-23 10:03:54 +08:00 |
YuQing
|
aabc50c144
|
add .gitignore
|
2019-11-22 09:53:58 +08:00 |
YuQing
|
bb0a1f0da6
|
add function local_host_ip_addrs_to_string
|
2019-10-15 21:47:13 +08:00 |
YuQing
|
325946a3be
|
add function conn_pool_set_server_info
|
2019-10-12 10:59:08 +08:00 |
YuQing
|
9534dfba56
|
change function conn_pool_connect_server_ex
|
2019-10-08 09:39:05 +08:00 |
YuQing
|
69463768ea
|
add function conn_pool_connect_server_ex
|
2019-09-30 21:22:19 +08:00 |
YuQing
|
d32a72db1f
|
add function socketCreateEx2
|
2019-09-29 21:35:53 +08:00 |
YuQing
|
583bdc87dc
|
upgrade version to 1.0.41
|
2019-09-29 15:58:11 +08:00 |
YuQing
|
83f572820e
|
log more info when socket bind fail
|
2019-09-29 14:55:50 +08:00 |
YuQing
|
28d175523d
|
sockopt.[hc] support IPv6
|
2019-09-27 11:29:12 +08:00 |
YuQing
|
82eee4ddd0
|
func getifconfigs: get IPv6 address correctly
|
2019-09-26 10:00:02 +08:00 |
YuQing
|
d366aa6492
|
multi_socket_client: fix timeout check
|
2019-09-24 10:20:49 +08:00 |
YuQing
|
cd4a1c3959
|
multi_socket_client.c: code refine
|
2019-09-22 21:31:55 +08:00 |
YuQing
|
93ca7b42cd
|
ini_file_reader.c: fix empty string compare
|
2019-09-22 10:23:36 +08:00 |
YuQing
|
c1f0d855c8
|
change CIDR network_bits range from [16, 32) to [10, 32)
|
2019-05-23 18:59:29 +08:00 |
YuQing
|
91f707d1b4
|
log more info when setrlimit fail
|
2019-03-19 14:29:52 +08:00 |
YuQing
|
e9822aa8e3
|
php7_ext_wrapper.h: add ZEND_IS_FALSE
|
2018-12-01 16:18:41 +08:00 |
YuQing
|
f6609c7612
|
add function id_generator_next_extra_ptr
|
2018-11-09 22:07:21 +08:00 |
YuQing
|
32c1445d41
|
add function resolve_path and fast_buffer_append_file
|
2018-10-29 16:48:08 +08:00 |
YuQing
|
f64a00c0f2
|
add function log_try_init
|
2018-10-26 15:07:55 +08:00 |
YuQing
|
350f923710
|
add function hash_find1 and hash_find2
|
2018-10-26 10:24:23 +08:00 |
YuQing
|
d27948ed9c
|
add function format_http_date
|
2018-10-11 16:33:38 +08:00 |
YuQing
|
660a471b98
|
correct macro define parameter
|
2018-10-10 18:43:49 +08:00 |
YuQing
|
0a442615ae
|
add types: string_array_t and key_value_array_t
|
2018-10-04 20:22:43 +08:00 |
YuQing
|
d74e3f3b13
|
change DEFAULT_CONNECT_TIMEOUT from 30 to 10
|
2018-09-27 10:13:17 +08:00 |
YuQing
|
ea74bac9d0
|
add function fc_memmem
|
2018-09-27 10:12:24 +08:00 |
yuqing
|
6ef844bd6b
|
add FC_IS_CHINESE_UTF8_CHAR
|
2018-09-17 12:01:03 +08:00 |
yuqing
|
3c9054f215
|
add fast_buffer_append_string2
|
2018-09-14 11:58:49 +08:00 |
yuqing
|
8403f2246c
|
add functions: string trim and fast_mpool_strdup
|
2018-09-13 18:21:32 +08:00 |
yuqing
|
ce98e53ae2
|
add FC_SET_STRING
|
2018-09-10 21:21:54 +08:00 |
yuqing
|
b2dd1c322e
|
add macro FC_IS_LETTER
|
2018-09-04 15:51:35 +08:00 |
yuqing
|
5e2b104970
|
add function fc_string_equal
|
2018-09-03 18:01:39 +08:00 |
yuqing
|
85cc906b1d
|
add function fc_strdup
|
2018-08-27 15:14:53 +08:00 |
yuqing
|
e53cbda01b
|
json parser refine error info
|
2018-08-24 16:25:29 +08:00 |
yuqing
|
3e28a90d0c
|
json parse array and map
|
2018-08-24 11:41:11 +08:00 |
yuqing
|
827fc115e2
|
add json_parser.[hc] for parse json array and map
|
2018-08-22 10:35:33 +08:00 |