libfastcommon/HISTORY

60 lines
2.1 KiB
Plaintext

Version 1.07 2014-09-16
* increment alloc task buffer
* add function free_queue_alloc_connections
* check file size before log access header
* conn_pool_destroy close connections and free memory
* delete log old files with any time format affix
Version 1.06 2014-08-27
* update source code from FastDFS V5.02
* add function short2buff and buff2short
* add object memory pool (fast_mblock.h and fast_mblock.c)
* add member thread_loop_callback in nio_thread_data
* bug fixed: ini_file_reader.c can't include relative path sub config,
such as #include ../../conf/common.conf
* add get_url_content_ex to support buffer passed by caller
* logger can set rotate time format
* add connection pool
* logger can log header line
* #include <stdbool.h> to use C99 bool
* add libfastcommon.spec for building RPM
* logger can delete old rotated files
* bug fixed: connection pool should NOT increase counter when connect fail
* logger.c do NOT call fsync after write
* sockopt.c add tcprecvdata_nb_ms to support millisecond timeout
* change req_count from int to int64_t
* logger can take over stderr and stdout
* replace INT64_PRINTF_FORMAT with PRId64
* support OS Darwin
* socket send and recv ignore erno EINTR
* http_parse_query_ex support binary buffer, and set both lengths of key and name
* add function ioevent_remove
* add function log_reopen_ex
* extern function log_rotate
* add function log_set_fd_flags
Version 1.05 2012-07-08
* update source code from FastDFS V3.09
Version 1.04 2011-01-31
* update source code from FastDFS V2.08
Version 1.03 2010-11-16
* add local ip functions local_ip_func.c
Version 1.02 2010-07-02
* sockopt.c: tcprecvfile and tcpdiscard add parameter total_recv_bytes
* sockopt.h add non-block connect function connectserverbyip_nb
* log_init set log to cache to false (no cache)
Version 1.01 2010-05-15
* source file move to directory src
* header files add comments
* logger.h: correct function name from log_destory_ex to log_destroy_ex
* shared_func.h: getExeAbsolutePath change to getAbsolutePath
Version 1.00 2010-05-08
* first version