YuQing
|
fef0a4a7f3
|
adapt to FreeBSD 13
|
2024-05-19 11:11:42 +08:00 |
YuQing
|
7f699688c0
|
add functions: get_log_level and get_log_level_caption
|
2024-04-08 15:15:34 +08:00 |
YuQing
|
d18ad54c2b
|
add macro FC_SET_STRING_EMPTY
|
2024-02-15 16:44:00 +08:00 |
YuQing
|
05f3d62ee1
|
call fast_mblock_ref_counter_dec for delay free node correctly
|
2024-01-07 14:59:00 +08:00 |
YuQing
|
7816a28c53
|
use strtok_r instead of strtok for thread safety
|
2023-12-23 16:19:11 +08:00 |
YuQing
|
700a5bcaec
|
replace type in_addr_t to in_addr_64_t
|
2023-11-24 15:25:14 +08:00 |
YuQing
|
4eb30adb1a
|
code adjust for pull request #47
|
2023-11-23 15:40:58 +08:00 |
sunqiangwei1988
|
718906e477
|
Added: 增加IPv6支持
1、将IP_ADDRESS_SIZE的值由16修改为INET6_ADDRSTRLEN(46)。
2、新定义in_addr_64结构体替换in_addr结构体,以支持IPv6地址长度。
3、将connection_pool相关文件的socket_domain预设值由AF_INET修改为AF_UNSPEC。
4、增加IPv6的本地回环地址判断。
5、新增从字符串中解析IP地址和端口号方法(支持IPv4和IPv6)。
6、sockopt增加IPv6的支持
|
2023-11-02 10:13:42 +08:00 |
YuQing
|
4df1107fa3
|
add function fc_safe_writev
|
2023-05-29 18:15:59 +08:00 |
YuQing
|
fd8fbfe644
|
parse_bytes support space charactors
|
2023-01-04 12:20:45 +08:00 |
YuQing
|
22c7e31752
|
shared_func.[hc]: normalize_path use type string_t for general purpose
|
2022-11-07 08:27:43 +08:00 |
YuQing
|
2b0796b166
|
fc_itoa small refine
|
2022-09-29 20:55:05 +08:00 |
YuQing
|
6ea757f492
|
add function fc_itoa
|
2022-09-28 22:13:57 +08:00 |
YuQing
|
a9e82600b7
|
add function fc_get_first_lines
|
2022-07-21 18:30:53 +08:00 |
YuQing
|
599d0f1446
|
add global var g_set_cloexec and macro FC_SET_CLOEXEC
|
2022-06-25 11:23:43 +08:00 |
YuQing
|
e254b8e1d3
|
open file with flag O_CLOEXEC
|
2022-06-24 18:52:39 +08:00 |
YuQing
|
5f34bc872b
|
add functions common_blocked_queue_empty/count
|
2022-06-03 15:30:49 +08:00 |
YuQing
|
275279a264
|
json_parser.[hc] refined for better performance
|
2022-05-29 10:55:16 +08:00 |
YuQing
|
f836b1a9e2
|
bugfixed: fc_get_file_line_count_ex should rewind file
|
2022-04-14 16:48:32 +08:00 |
YuQing
|
ba011767f8
|
add functions: fc_get_path_child_count and fc_copy_file
|
2022-03-16 11:46:43 +08:00 |
YuQing
|
7d5e94f9dd
|
rename fc_format_path to fc_remove_redundant_slashes
|
2022-03-15 08:51:20 +08:00 |
YuQing
|
80b751980b
|
add function fc_format_path
|
2022-03-14 17:10:43 +08:00 |
YuQing
|
08f74db732
|
add function fc_check_rename_ex
|
2022-03-09 08:21:07 +08:00 |
YuQing
|
7b9c257652
|
rename trim to fc_trim
|
2022-02-25 09:44:15 +08:00 |
YuQing
|
9f1d1b6d48
|
rename hash_xxx to fc_hash_xxx
|
2022-02-09 22:35:40 +08:00 |
YuQing
|
787eb3a7d6
|
NULL from parameter for getcwd
|
2022-01-29 17:18:13 +08:00 |
YuQing
|
750c2c5e8a
|
normalize_path removes prefix one ./ and multi ../
|
2021-12-23 10:04:48 +08:00 |
YuQing
|
9ca9592326
|
shared_func.[hc]: add function fc_read_lines
|
2021-10-19 20:29:15 +08:00 |
YuQing
|
09e00bcf5e
|
add functions fc_safe_write_file_init/open/close
|
2021-10-10 14:45:08 +08:00 |
YuQing
|
c6b2c32fe2
|
add function: fast_allocator_avail_memory
|
2021-08-17 10:01:42 +08:00 |
YuQing
|
44dcf4f821
|
add functions getFileContentEx1 and getFileContent1
|
2021-08-08 15:11:29 +08:00 |
YuQing
|
8174aed8e3
|
set errno to result ASAP for safety
|
2021-05-26 18:05:50 +08:00 |
YuQing
|
768fbb68d4
|
normalize_path support file resource start with file://
|
2021-05-26 09:38:04 +08:00 |
YuQing
|
6fddce73c5
|
add function normalize_path_ex and normalize_uri
|
2021-05-25 16:48:10 +08:00 |
YuQing
|
4558290e1e
|
add macro fc_fallocate
|
2021-05-11 09:07:23 +08:00 |
YuQing
|
9d9cee76ac
|
add functions fc_server_load_from_ini_context etc.
|
2021-04-28 20:31:00 +08:00 |
YuQing
|
f37c3bf013
|
parse_bytes function more graceful
|
2021-04-17 21:51:27 +08:00 |
YuQing
|
097a7db3cb
|
add functions: fc_check_filename_ex
|
2021-03-28 21:08:20 +08:00 |
YuQing
|
07ba689835
|
add FilenameString type and macro
|
2021-03-19 09:17:11 +08:00 |
YuQing
|
13de41bc05
|
add functions: fc_mkdirs and str_replace
|
2021-03-16 09:10:34 +08:00 |
YuQing
|
41a4ca78c7
|
fast_buffer.[hc]: add function fast_buffer_append_binary
|
2021-01-27 21:10:43 +08:00 |
YuQing
|
89c68e11db
|
add function get_time_item_from_conf_ex
|
2020-12-29 15:15:49 +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
|
56a5ac4f92
|
modify license to LGPLv3 and copyright
|
2020-10-14 11:03:46 +08:00 |
YuQing
|
55fc4013b3
|
add function fc_get_last_lines
|
2020-09-26 11:15:57 +08:00 |
YuQing
|
d9b914ea6e
|
set rlim_max for setrlimit call
|
2020-09-04 09:09:14 +08:00 |
YuQing
|
6eb2d1c2e7
|
shared_func.[hc]: add function fc_path_contains
|
2020-08-31 16:02:10 +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 |