yuqing
|
9cd25c3686
|
ini_file_reader code refine
|
2018-08-17 11:56:35 +08:00 |
yuqing
|
74e00bb244
|
add function conn_pool_parse_server_info and conn_pool_load_server_info
|
2018-08-14 17:44:55 +08:00 |
yuqing
|
722a944266
|
sockopt.c: add global variable try_again_when_interrupt
|
2018-07-31 16:46:05 +08:00 |
yuqing
|
08dce9933e
|
add file fc_list.h
|
2018-07-26 15:28:39 +08:00 |
yuqing
|
0bdb5e4b03
|
ini_file_reader add function iniGetRequiredStrValueEx
|
2018-07-23 12:48:44 +08:00 |
yuqing
|
142d557c8f
|
sched_thread.c: fix first schedule time
|
2018-07-19 17:43:15 +08:00 |
yuqing
|
d0729c2540
|
common_blocked_queue.h: add function common_blocked_queue_try_pop
|
2018-07-16 15:08:59 +08:00 |
yuqing
|
c20b7306b0
|
shared_func.h: add function starts_with and ends_with
|
2018-07-10 12:47:12 +08:00 |
YuQing
|
fd94604ba4
|
#@set value can embed %{VARIABLE}
|
2018-07-07 13:29:51 +08:00 |
yuqing
|
96a57d65ee
|
add @function REPLACE_VARS
|
2018-07-06 15:35:15 +08:00 |
yuqing
|
0d13a2de17
|
sched_thread.h: add function sched_print_all_entries
|
2018-06-26 10:56:34 +08:00 |
yuqing
|
571be969dd
|
shared_func.h: add functions int2str and long2str
|
2018-06-11 17:04:46 +08:00 |
yuqing
|
530c17aaa1
|
correct CRC32
|
2018-06-07 20:43:32 +08:00 |
yuqing
|
890d0bf2d4
|
skiplist add function find_range
|
2018-06-01 18:30:26 +08:00 |
yuqing
|
beb0c77ebb
|
skiplist optimization
|
2018-05-30 13:49:27 +08:00 |
yuqing
|
fd894d810b
|
add skiplist_set.[hc] and skiplist bug fixed
|
2018-05-29 18:10:50 +08:00 |
yuqing
|
03037c5d5f
|
ioevent.[hc]: remove care_events in FreeBSD or MacOS
|
2018-05-21 19:04:02 +08:00 |
yuqing
|
6c9b0b4401
|
add files: multi_socket_client.[hc]
|
2018-05-18 16:48:26 +08:00 |
yuqing
|
83d1eb2bde
|
add files: common_blocked_queue.[hc]
|
2018-05-17 09:36:55 +08:00 |
yuqing
|
679c8162fa
|
logger.h: add function log_get_level_caption
|
2018-05-11 18:32:40 +08:00 |
yuqing
|
7751ae2808
|
shared_func.h: add functions float2buff / buff2float, double2buff / buff2double
|
2018-05-10 18:24:42 +08:00 |
yuqing
|
87dc7dd4d8
|
ini_file_reader.c function annotations LOCAL_IP_GET support index
|
2018-02-24 14:10:22 +08:00 |
yuqing
|
5359199fb7
|
correct getFileContentEx read bytes
|
2017-03-08 15:24:05 +08:00 |
yuqing
|
92f4763638
|
ini_file_reader support flags
|
2017-03-02 09:55:24 +08:00 |
yuqing
|
6172c54f10
|
init context support dynamic annotations
|
2017-03-01 16:57:09 +08:00 |
yuqing
|
b967e39e64
|
support annotataion map set incrementally
|
2017-02-28 17:59:02 +08:00 |
yuqing
|
5fb8531218
|
add function fc_trim to avoid conflict with trim
|
2017-02-27 16:08:55 +08:00 |
yuqing
|
2496e697dc
|
add function fc_ftok
|
2017-02-20 14:57:27 +08:00 |
yuqing
|
16455133f3
|
add function fc_safe_read and fc_safe_write
|
2017-02-16 16:34:54 +08:00 |
yuqing
|
df428e6a2d
|
add php extension function: fastcommon_file_put_contents
|
2017-02-15 15:38:47 +08:00 |
yuqing
|
7a0fae8f01
|
logger judge log_level in function log_it_ex and log_it_ex1
|
2017-02-09 18:35:39 +08:00 |
yuqing
|
2b0706775a
|
ini_file_reader use extra context for compatible
|
2017-02-06 15:06:30 +08:00 |
Yu Qing
|
5c7ba700b6
|
ini_file_reader support #@set directive
|
2017-02-01 10:35:17 +08:00 |
yuqing
|
87995c650d
|
ini_file_reader: return the last when get single value
|
2017-01-19 18:19:45 +08:00 |
yuqing
|
39e569a649
|
ini_file_reader: LOCAL_IP support CIDR addresses
|
2017-01-19 11:11:39 +08:00 |
yuqing
|
9e7965b2f1
|
change HISTORY
|
2017-01-04 09:58:59 +08:00 |
yuqing
|
e4871c205f
|
refine getFileContent log info
|
2016-12-22 15:09:39 +08:00 |
yuqing
|
c02a55ba28
|
add function hash_get_prime_capacity
|
2016-12-13 15:56:22 +08:00 |
yuqing
|
528528f8a3
|
upgrade version to 1.0.32
|
2016-12-01 18:21:11 +08:00 |
yuqing
|
33085e9bf6
|
add files: char_convert_loader.h and char_convert_loader.c
|
2016-11-26 12:20:43 +08:00 |
yuqing
|
e2735189a5
|
add files: char_converter.h and char_converter.c
|
2016-11-25 09:02:03 +08:00 |
yuqing
|
100ae31704
|
Revert "log support replace space chars"
This reverts commit aa683c2324.
|
2016-11-24 19:55:51 +08:00 |
yuqing
|
aa683c2324
|
log support replace space chars
|
2016-11-24 19:15:23 +08:00 |
yuqing
|
ef019ab04a
|
logger context add field: use_file_write_lock
|
2016-11-13 14:22:12 +08:00 |
yuqing
|
8b563ce830
|
add file trylock functions
|
2016-11-13 12:44:24 +08:00 |
yuqing
|
e16e0f5d4f
|
add function get_time_item_from_str
|
2016-11-11 15:14:51 +08:00 |
yuqing
|
41db7d0bc2
|
move SET_SOCKOPT_NOSIGPIPE from sockopt.c to sockopt.h
|
2016-11-10 14:00:12 +08:00 |
yuqing
|
3c77ef047d
|
id generator support file mode
|
2016-10-31 18:46:03 +08:00 |
yuqing
|
b80de986b2
|
fixbug for select with microseconds
|
2016-09-08 15:44:31 +08:00 |
yuqing
|
bf8023287e
|
add function iovent_add_to_deleted_list
|
2016-09-02 19:14:00 +08:00 |
yuqing
|
0d523073af
|
change HISTORY
|
2016-08-12 17:27:17 +08:00 |
yuqing
|
792549e60c
|
php7_ext_wrapper.h: #include <stdbool.h>
|
2016-08-08 15:27:51 +08:00 |
yuqing
|
60cd0565e5
|
php7_ext_wrapper.h: fix memory leak in php 7
|
2016-08-01 19:36:32 +08:00 |
yuqing
|
1eab718d4f
|
modify php-fastcommon/test.php
|
2016-07-25 12:46:44 +08:00 |
yuqing
|
1c2b72f9a6
|
add function id_generator_get_timestamp
|
2016-06-17 10:09:41 +08:00 |
yuqing
|
962773d029
|
for compatibility
|
2016-06-15 10:06:09 +08:00 |
yuqing
|
28930e70b6
|
ini_file_reader support #@for
|
2016-06-14 22:41:15 +08:00 |
yuqing
|
4d0f217917
|
ini_file_reader support #@if
|
2016-06-14 17:29:25 +08:00 |
yuqing
|
fb0162d769
|
check g_free_queue.head == NULL before free_queue_realloc()
|
2016-06-08 18:30:36 +08:00 |
yuqing
|
372a02d9d4
|
add function http_parse_url_params
|
2016-06-06 20:49:34 +08:00 |
yuqing
|
299ac49055
|
id generator in php extension support multi instance
|
2016-05-19 15:50:45 +08:00 |
yuqing
|
3eb39e834c
|
connect by ip and connection pool support ipv6
|
2016-05-18 10:40:36 +08:00 |
yuqing
|
094f3900c1
|
inet_aton to inet_pton
|
2016-05-17 21:22:08 +08:00 |
yuqing
|
064c4730e4
|
id generator support extra bits
|
2016-05-14 19:37:55 +08:00 |
yuqing
|
f829bd5e88
|
id generator support variable sn bits
|
2016-04-15 14:46:30 +08:00 |
Yuqing
|
324d6db66f
|
php extension support id generator
|
2016-04-10 19:01:47 +08:00 |
Yuqing
|
b16e56b9a3
|
id generator for multi processes
|
2016-04-10 17:44:10 +08:00 |
yuqing
|
8104af5d27
|
add id generator for multi processes
|
2016-04-10 00:22:50 +08:00 |
yuqing
|
6bd718079e
|
add file lock and unlock functions
|
2016-04-09 22:11:28 +08:00 |
yuqing
|
4df942b589
|
php-fastcommon.spec.in support PHP 7
|
2016-04-08 17:24:59 +08:00 |
yuqing
|
b2b933e5a7
|
add function fd_set_cloexec
|
2016-03-31 15:51:58 +08:00 |
yuqing
|
0103aef791
|
add logger parameter: compress_log_days_before
|
2016-03-16 09:18:57 +08:00 |
yuqing
|
ef8d758a3c
|
support compress log file in new thread
|
2016-03-01 16:00:29 +08:00 |
yuqing
|
72f0214695
|
logger support compress the log file
|
2016-02-29 18:37:10 +08:00 |
yuqing
|
09bc970dab
|
bugfixed: free task point correctly in free_queue_destroy
|
2016-02-22 18:34:41 +08:00 |
Yu Qing
|
e32e6315b5
|
compile passed in FreeBSD 10.2
|
2016-02-19 11:27:39 +08:00 |
yuqing
|
d5183cffb6
|
php7_ext_wrapper.h add more macro defines
|
2016-02-19 10:13:30 +08:00 |
yuqing
|
cfad73a8d5
|
add php7_ext_wrapper.h for php7 migration
|
2016-02-15 11:21:29 +08:00 |
yuqing
|
96bb553688
|
delete pid file check pid
|
2016-02-11 13:56:18 +08:00 |
Yu Qing
|
0758be6e88
|
sysinfo for FreeBSD
|
2016-01-28 11:30:07 +08:00 |
yuqing
|
74715cb089
|
iovent bug fixed for FreeBSD
|
2016-01-27 22:51:13 +08:00 |
yuqing
|
cb82009656
|
add fast_blocked_queue.[hc]
|
2016-01-26 09:42:53 +08:00 |
yuqing
|
12c1355c2a
|
export function task_queue_get_new_buffer_size
|
2016-01-19 14:28:44 +08:00 |
yuqing
|
e73b37f7da
|
ini_file_reader add iniGetSectionNames and iniGetSectionItems
|
2016-01-14 17:09:26 +08:00 |
yuqing
|
0fc9297155
|
add function get_processes for Linux
|
2016-01-14 12:29:14 +08:00 |
yuqing
|
10c15228ec
|
add function get_mounted_filesystems
|
2016-01-12 16:32:26 +08:00 |
yuqing
|
700f8d2c2b
|
add system_info.h and system_info.c
|
2016-01-12 15:14:47 +08:00 |
yuqing
|
1c6a73d4f3
|
support get local mac addresses
|
2016-01-12 10:56:07 +08:00 |
yuqing
|
66e2db7b6f
|
add skiplist wrapper
|
2015-12-30 11:16:06 +08:00 |
yuqing
|
5bae0d57cb
|
support multi skiplist
|
2015-12-29 12:23:03 +08:00 |
yuqing
|
a6ef605c6e
|
skiplist support stable sort
|
2015-12-25 19:02:36 +08:00 |
yuqing
|
159d69983b
|
test code modified
|
2015-12-25 16:56:52 +08:00 |
yuqing
|
74fe4c8889
|
add skiplist
|
2015-12-24 18:20:14 +08:00 |
Yu Qing
|
eec032be76
|
php extension compiled on PHP 7
|
2015-11-30 19:00:25 +08:00 |
yuqing
|
9828c45343
|
add function fast_mblock_init_ex1
|
2015-11-16 13:48:26 +08:00 |
Yu Qing
|
b6eb0e20da
|
add fast_buffer
|
2015-11-13 15:13:28 +08:00 |
yuqing
|
a190050ef0
|
README changed
|
2015-11-06 12:23:01 +08:00 |
Yu Qing
|
389234ff76
|
fast allocator ok
|
2015-11-05 18:44:12 +08:00 |
Yu Qing
|
fb5abf5927
|
add fast_allocator
|
2015-11-04 17:19:36 +08:00 |
yuqing
|
0fe90e35da
|
add function get_sys_cpu_count()
|
2015-11-04 15:02:56 +08:00 |
yuqing
|
f734884700
|
fast_mblock reclaimed object pool
|
2015-11-03 18:13:51 +08:00 |
yuqing
|
07c93f6206
|
delay task can execute in a new thread
|
2015-11-02 18:24:26 +08:00 |
yuqing
|
3e1d1e2ae1
|
add function get_sys_total_mem_size, ONLY support Linux and FreeBSD
|
2015-11-02 16:19:49 +08:00 |
yuqing
|
e2ef7c87b6
|
mblock add stat function
|
2015-10-30 12:52:13 +08:00 |
yuqing
|
cb81992905
|
add function get_current_time_us and get_current_time_ms
|
2015-10-26 17:07:43 +08:00 |
yuqing
|
96a6464e91
|
sched_thread.c: support delay tasks
|
2015-10-16 16:44:46 +08:00 |
yuqing
|
90ea025cb5
|
sched_thread.c: task can execute in a new thread
|
2015-10-16 10:43:02 +08:00 |
yuqing
|
21b1a0fae6
|
export php function: fastcommon_is_private_ip
|
2015-10-10 11:30:35 +08:00 |
yuqing
|
0452a1a3e6
|
export php function: fastcommon_get_next_local_ip
|
2015-10-09 16:38:38 +08:00 |
yuqing
|
3a3abaf148
|
add function is_private_ip
|
2015-10-09 16:12:30 +08:00 |
yuqing
|
ba00a3bb12
|
export php function: fastcommon_get_first_local_ip
|
2015-09-15 14:56:29 +08:00 |
yuqing
|
8f5c4fd3f7
|
iniGetValues use iniGetValuesEx
|
2015-09-14 18:03:49 +08:00 |
yuqing
|
e46333c00a
|
ioevent for BSD ok
|
2015-09-13 20:49:09 +08:00 |
yuqing
|
29451eaf49
|
add function get_first_local_ip
|
2015-09-08 19:09:35 +08:00 |
yuqing
|
fe9b8dad60
|
allow_ips support CIDR addresses such as 172.16.12.0/22
|
2015-09-05 19:40:23 +08:00 |
yuqing
|
31149bb6e9
|
correct PTHREAD_MUTEX_ERRORCHECK define
|
2015-08-26 18:46:07 +08:00 |
yuqing
|
de1be00ccb
|
ini_file_reader support annotation function
|
2015-08-25 17:20:20 +08:00 |
yuqing
|
ba6cc38703
|
add GEO function get_line_distance_km
|
2015-08-06 16:04:58 +08:00 |
yuqing
|
c623a6c935
|
correct logger rotate time near 0 clock
|
2015-07-24 09:44:31 +08:00 |
yuqing
|
e610e8a45d
|
OS macro defines put in _os_define.h
|
2015-07-15 14:26:39 +08:00 |
yuqing
|
f9936ec4ba
|
ini_file_reader.c realloc change to malloc and memcpy
|
2015-07-14 09:50:35 +08:00 |
yuqing
|
d884069622
|
ini_file_reader.c change PJWHash to Time33Hash and increase capacity
|
2015-07-13 15:13:06 +08:00 |
yuqing
|
e879393c88
|
add comment
|
2015-07-01 15:17:19 +08:00 |
yuqing
|
693874d0b9
|
fast_mblock.h add static inline
|
2015-06-25 10:25:23 +08:00 |
yuqing
|
f296a3e459
|
fast_mblock add fast_mblock_delay_free
|
2015-06-19 19:04:37 +08:00 |
yuqing
|
7a2c942863
|
ini_file_reader set global section before and after directive #include
|
2015-06-16 10:34:35 +08:00 |
yuqing
|
bcd00f4079
|
fast_mblock suport alloc and free object
|
2015-06-15 20:33:14 +08:00 |
yuqing
|
8ace700d0b
|
ioevent support set timeout
|
2015-06-11 09:51:02 +08:00 |
yuqing
|
d1d225c8db
|
fast_mblock.c support none lock
|
2015-05-22 14:24:09 +08:00 |
yuqing
|
0fd3425fb6
|
bug fixed: log header correctly when rotate
|
2015-05-15 14:02:39 +08:00 |
yuqing
|
8b9bdfd333
|
logger.c call log_check_rotate in lock
|
2015-05-15 11:16:14 +08:00 |
yuqing
|
62f94164c1
|
macro FDFS_WRITE_BUFF_SIZE change to FAST_WRITE_BUFF_SIZE
|
2015-05-12 14:05:09 +08:00 |
yuqing
|
a620fdbfe0
|
update version to v1.0.14
|
2015-05-11 18:31:46 +08:00 |
yuqing
|
7afa2a9e40
|
set_run_by log more info
|
2015-02-27 17:27:55 +08:00 |
yuqing
|
663abcdcf1
|
php ext return unsigned hash code
|
2015-01-28 19:11:24 +08:00 |
yuqing
|
83d45dde99
|
php extention export simple_hash and time33_hash
|
2015-01-22 11:09:56 +08:00 |
yuqing
|
a4dbaea49a
|
support php extension
|
2015-01-14 11:39:01 +08:00 |
yuqing
|
e7b2874e2a
|
can call sched_add_entries many times before schedule
|
2014-12-05 18:12:02 +08:00 |
yuqing
|
60b1f50c1f
|
bug fixed: must check the return value of vsnprintf
|
2014-12-05 09:54:48 +08:00 |
yuqing
|
906c9e81a6
|
change HISTORY
|
2014-11-21 14:30:48 +08:00 |
yuqing
|
c0778f54fb
|
remove usleep call in logger.c
|
2014-11-05 18:30:47 +08:00 |
yuqing
|
8718f26b2e
|
must set timeout entry's dlink to NULL because NOT in time wheel
|
2014-10-31 11:05:15 +08:00 |
yuqing
|
81a45e7253
|
correct iovent macro define
|
2014-10-31 09:28:23 +08:00 |
yuqing
|
6db41264ef
|
mblock support alloc_init_func
|
2014-10-26 11:52:28 +08:00 |
yuqing
|
503cdc6006
|
get local ipaddr support interface based 1
|
2014-10-24 18:20:00 +08:00 |
yuqing
|
83a8b14174
|
Version struct add variable: patch
|
2014-10-23 15:46:36 +08:00 |
yuqing
|
8ad9d6961b
|
judge changed
|
2014-10-09 18:09:12 +08:00 |
yuqing
|
5e6233ab69
|
sched_thread.c: calculate next_call_time correctly
|
2014-10-08 16:58:25 +08:00 |
yuqing
|
757a3b96a7
|
delete log old files with any time format affix
|
2014-09-16 11:26:17 +08:00 |
yuqing
|
acc17549ee
|
conn_pool_destroy close connections and free memory
|
2014-09-15 14:43:42 +08:00 |
yuqing
|
aafcd765dc
|
check file size before log access header
|
2014-09-15 14:22:12 +08:00 |
yuqing
|
5e5b3e84c7
|
HISTORY file changed
|
2014-09-11 09:35:41 +08:00 |
yuqing
|
79cf264688
|
add function free_queue_current_connections
|
2014-09-10 18:01:03 +08:00 |
yuqing
|
b9328983cb
|
increment alloc task buffer
|
2014-09-10 09:42:15 +08:00 |
yuqing
|
c790ac5208
|
add function log_set_fd_flags
|
2014-08-27 16:06:27 +08:00 |
yuqing
|
ba60d10858
|
extern function log_rotate
|
2014-08-26 15:30:49 +08:00 |
yuqing
|
d88e9a6408
|
add function log_reopen_ex
|
2014-08-26 13:46:24 +08:00 |
yuqing
|
118f657c7f
|
add function ioevent_remove
|
2014-08-25 09:24:52 +08:00 |
yuqing
|
9ca29b6b06
|
http_parse_query_ex support binary buffer, and set both lengths of key and name
|
2014-08-11 16:58:27 +08:00 |
yuqing
|
93598b1862
|
http_parse_query set both lengths of key and name
|
2014-08-11 16:25:15 +08:00 |
yuqing
|
8725ebd997
|
socket send and recv ignore erno EINTR
|
2014-08-10 21:57:06 +08:00 |
yuqing
|
3077eb6a65
|
change req_count from int to int64_t
|
2014-07-23 17:39:04 +08:00 |
yuqing
|
dd42d9c08c
|
sockopt.c add tcprecvdata_nb_ms to support millisecond timeout
|
2014-07-14 18:03:13 +08:00 |
yuqing
|
31db77f3cd
|
logger.c do NOT call fsync after write
|
2014-07-02 18:14:15 +08:00 |
yuqing
|
701bc391bc
|
bug fixed: connection pool should NOT increase counter when connect fail
|
2014-06-27 15:12:41 +08:00 |
yuqing
|
101caed964
|
logger can delete old rotated files
|
2014-06-24 16:37:03 +08:00 |
yuqing
|
a25935f612
|
add libfastcommon.spec for building RPM
|
2014-06-24 14:35:33 +08:00 |
yuqing
|
7e4a69deb1
|
#include <stdbool.h> to use C99 bool
|
2014-06-18 16:28:55 +08:00 |
yuqing
|
cfe46a63ed
|
logger can log header line
|
2014-06-17 11:34:13 +08:00 |
yuqing
|
d168878643
|
add connection pool
|
2014-06-17 09:47:04 +08:00 |
yuqing
|
9ec6a70c29
|
logger can set rotate time format
|
2014-06-16 17:53:50 +08:00 |
yuqing
|
b620f77391
|
add get_url_content_ex to support buffer passed by caller
|
2014-06-13 14:13:06 +08:00 |
yuqing
|
b0494666ad
|
add member thread_loop_callback in nio_thread_data
|
2014-06-06 18:31:06 +08:00 |
yuqing
|
80fba80f41
|
add object memory pool
|
2014-06-05 14:11:53 +08:00 |
yuqing
|
090c6f819d
|
add function short2buff and buff2short
|
2014-05-30 16:12:17 +08:00 |
yuqing
|
0dd3d17c92
|
update source code from FastDFS V5.02
|
2014-05-29 09:21:50 +08:00 |