Commit Graph

380 Commits (8a97e84e1c0f824d50439189f57cbe25b5c665bc)

Author SHA1 Message Date
YuQing e11b22ad7d struct fast_task_info add field recv_body for dynamic recv buffer 2022-08-25 18:20:41 +08:00
YuQing ed66409220 normalize_path for base_path 2022-08-20 10:04:25 +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 0b539bbba2 json decode supports memory pool for persistency 2022-06-04 12:41:07 +08:00
YuQing 275279a264 json_parser.[hc] refined for better performance 2022-05-29 10:55:16 +08:00
YuQing f24c558761 add function iniGetCharValueEx 2022-05-26 10:37:52 +08:00
YuQing 630a6a2af6 add function conn_pool_connect_server_ex1 to support service name 2022-05-07 16:53:02 +08:00
YuQing 5802203f9f upgrade version to V1.0.57 2022-04-22 14:55:55 +08:00
YuQing 26abf68ebd fast_mblock.[hc] support object destroy callback 2022-03-17 20:50:06 +08:00
YuQing ba011767f8 add functions: fc_get_path_child_count and fc_copy_file 2022-03-16 11:46:43 +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 29cc5af134 add function fc_iov_get_bytes 2022-02-02 20:37:13 +08:00
YuQing a19a0071db sockopt.[hc] support tcpwritev and tcpreadv 2022-01-31 17:03:42 +08:00
YuQing 787eb3a7d6 NULL from parameter for getcwd 2022-01-29 17:18:13 +08:00
YuQing 4b9e2d6517 add function fc_gettid 2022-01-29 15:56:41 +08:00
YuQing 0410c7fedd add function sched_delay_free_ptr 2022-01-12 11:03:50 +08:00
YuQing 0381982ac2 function fast_mblock_batch_alloc changed 2022-01-09 15:26:27 +08:00
YuQing b4f6152776 upgrade version to 1.0.54 2021-12-23 11:23:45 +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 2432e0bc79 add function fc_queue_alloc_chain 2021-09-22 09:25:28 +08:00
YuQing 2993b34e80 add files: sorted_array.[hc] 2021-09-13 11:18:45 +08:00
YuQing f5fa33611f add files: array_allocator.[hc] 2021-09-10 16:36:14 +08:00
YuQing 6957c19992 fast_mblock.[hc]: add function fast_mblock_free_objects 2021-09-09 08:39:51 +08:00
YuQing a66370d0f8 add files: sorted_queue.[hc] 2021-09-02 21:05:09 +08:00
YuQing c6b2c32fe2 add function: fast_allocator_avail_memory 2021-08-17 10:01:42 +08:00
YuQing b7ecd0d4c4 add function init_pthread_rwlock 2021-08-13 21:10:05 +08:00
YuQing 2fafa215fd add function fc_queue_timedpeek 2021-08-11 11:32:23 +08:00
YuQing 44dcf4f821 add functions getFileContentEx1 and getFileContent1 2021-08-08 15:11:29 +08:00
YuQing 47c4eaeb13 fast_allocator.[hc]: correct reclaim_interval logic 2021-08-06 15:18:36 +08:00
YuQing de879c15ee uniq_skiplist.h: add function uniq_skiplist_iterator_at 2021-06-30 15:05:31 +08:00
YuQing 3ad4a89ff5 process_action support action status 2021-06-26 11:00:52 +08:00
YuQing ba1f8eb38f add function fc_check_realloc_iovec_array 2021-06-08 14:15:24 +08:00
YuQing e068391c87 add function get_path_block_size and get_device_block_size 2021-06-02 11:07:28 +08:00
YuQing 48f108b40d add function fc_queue_pop_to_queue_ex 2021-06-01 17:08:24 +08:00
YuQing 41681a5eb7 process_stop more gracefully (kill -9 on timeout) 2021-06-01 15:34:18 +08:00
YuQing da2077c6b8 add function get_kernel_version 2021-05-27 10:05:52 +08:00
YuQing 639d388c6d use libcurl to fetch URL resource 2021-05-26 15:21:55 +08:00
YuQing 6fddce73c5 add function normalize_path_ex and normalize_uri 2021-05-25 16:48:10 +08:00
YuQing df4fdfcab7 uniq_skiplist.[hc]: init function add parameter: allocator_use_lock 2021-05-20 10:08:01 +08:00
YuQing 797f4e08b8 fast_mblock.[hc]: support batch alloc and batch free 2021-05-18 15:06:59 +08:00
YuQing 4558290e1e add macro fc_fallocate 2021-05-11 09:07:23 +08:00
YuQing 082da383ff set thread name as necessary 2021-04-29 21:02:36 +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 6a3bcd4547 add file locked_list.h 2021-04-09 21:28:22 +08:00
YuQing c1bb9d6532 add functions: fc_queue_push_queue_to_tail etc. 2021-04-07 14:53:29 +08:00
YuQing 097a7db3cb add functions: fc_check_filename_ex 2021-03-28 21:08:20 +08:00
YuQing cc304e5d7a add functions: fc_string_case_compare, fc_string_case_equal etc. 2021-03-21 10:15:29 +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 88aa31df07 add uniq_skiplist_pair struct and init function 2021-03-15 20:57:48 +08:00
YuQing 04226e28fc add macros: FC_ABS and FC_NEGATIVE 2021-03-10 14:38:09 +08:00
YuQing 02701c3781 add function fc_queue_timedpop 2021-02-01 10:52:55 +08:00
YuQing 35aa996333 add function common_blocked_queue_timedpop 2021-01-29 17:39:12 +08:00
YuQing 41a4ca78c7 fast_buffer.[hc]: add function fast_buffer_append_binary 2021-01-27 21:10:43 +08:00
YuQing e104d2f7f6 upgrade version to 1.0.47 2021-01-22 10:25:37 +08:00
YuQing c822e92b19 fast_mblock.[hc]: support wait with element limit 2021-01-14 15:25:37 +08:00
YuQing 1f126476bc fc_atomic.h: add FC_ATOMIC_SET 2021-01-11 16:22:39 +08:00
YuQing 7d5a540a2f INI_FIND_ITEM just break instead of return 2020-12-29 16:21:00 +08:00
YuQing 89c68e11db add function get_time_item_from_conf_ex 2020-12-29 15:15:49 +08:00
YuQing 89abbd2ee4 use readdir instead of readdir_r in Linux 2020-12-24 18:34:16 +08:00
YuQing 7190fad3d0 add function uniq_skiplist_find_node_ex 2020-12-24 16:03:53 +08:00
YuQing 0cd65f088c tcp_quick_ack option for Linux 2020-12-06 16:59:09 +08:00
YuQing 93e6cec05d locked_timer: atomic opt for lock_index 2020-11-29 21:52:49 +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 1ac8c8f3c2 fast_task_info add fields: reffer_count and continue_callback 2020-10-28 11:59:37 +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 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 7d5512682b fixed printf format for port 2020-09-27 08:53:57 +08:00
YuQing 55fc4013b3 add function fc_get_last_lines 2020-09-26 11:15:57 +08:00
YuQing bc5efd235e add function fc_sleep_ms 2020-09-12 15:41:16 +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 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 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 d1f1bf97e1 add function uniq_skiplist_replace_ex 2020-05-21 18:10:28 +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 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