Commit Graph

83 Commits (f7347108324d81cb680c7dc956845c62880279b6)

Author SHA1 Message Date
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
YuQing c2d8faaba7 thread pool enhance 2020-08-05 15:00:37 +08:00
YuQing 4aad4f78b9 add files: fc_memory.[hc] 2020-07-07 10:32:16 +08:00
YuQing fb03bf23ba add fc_queue.[hc] 2020-06-01 16:38:48 +08:00
YuQing 759fd117d8 uniq_skiplist support bidirection 2020-04-21 09:31:04 +08:00
YuQing 01b1841fda add function fc_get_file_line_count_ex 2020-03-31 10:10:49 +08:00
YuQing 21336eee3e add function fc_init_buffer 2020-03-13 15:09:08 +08:00
YuQing 773f1bc28c shared_func.[hc]: add functions getFileSize 2020-03-03 10:19:53 +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 798244cc1b add function fc_memrchr 2020-02-08 09:19:10 +08:00
YuQing a6066181ae add function split_string_ex 2020-02-02 20:49:57 +08:00
YuQing 12dde730c8 add function fc_delete_file_ex 2019-12-25 15:20:07 +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 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 32c1445d41 add function resolve_path and fast_buffer_append_file 2018-10-29 16:48:08 +08:00
YuQing d27948ed9c add function format_http_date 2018-10-11 16:33:38 +08:00
YuQing ea74bac9d0 add function fc_memmem 2018-09-27 10:12:24 +08:00
yuqing 8403f2246c add functions: string trim and fast_mpool_strdup 2018-09-13 18:21:32 +08:00
yuqing 85cc906b1d add function fc_strdup 2018-08-27 15:14:53 +08:00
yuqing 94741c51c2 add function fc_split_string and fc_match_delim 2018-08-20 18:11:18 +08:00
yuqing c20b7306b0 shared_func.h: add function starts_with and ends_with 2018-07-10 12:47:12 +08:00
yuqing 571be969dd shared_func.h: add functions int2str and long2str 2018-06-11 17:04:46 +08:00
yuqing b3c89b2316 add IS_HEX_CHAR macro define 2017-07-06 10:47:03 +08:00
yuqing 5359199fb7 correct getFileContentEx read bytes 2017-03-08 15:24:05 +08:00