changes

来自「linux网络服务器工具」· 代码 · 共 1,556 行 · 第 1/5 页

TXT
1,556
字号
  *) Only include sys/syslimits.h if we don't have limits.h     [Craig Rodrigues <rodrigc@attbi.com>, Garrett Rooney      <rooneg@electricjellyfish.net>, Thom May]  *) Allow apr-config to work in symlinked install directories when     'realpath' is available.  [Justin Erenkrantz]  *) Namespace protect the header files in include/arch     [Thom May]  *) Add function apr_filepath_encoding and associated constants.     [Branko Čibej]  *) Allow apr_hash to have greater than int number of elements.     [Justin Erenkrantz]  *) Allow generation of dependencies by non-GCC compilers.     [Justin Erenkrantz]  *) Prevent obscenely large values of precision in apr_vformatter     from clobbering a buffer. [Sander Striker, Jim Jagielski]  *) limit the renames performed in apr_rename.pl to the most recent renames.     [Thom May]  *) Changed apr_mmap_dup() and friends so that there's no longer any     is_owner concept on the mmaped region, but rather something more     along the lines of a reference count.  This allows the old apr_mmap_t     to still be used safely when the new apr_mmap_t is in a disjoint pool.     [Cliff Woolley, Sander Striker]  *) Fix a bug in apr_hash_merge() which caused the last entry in the     overlay hash to be lost.  PR 10522  [Jeff Trawick]  *) Add DougM's apr_rename.pl script into helpers, and update for the new      batch of updates [Thom May]  *) Renames done (deprecated functions wrapped):     apr_filename_of_pathname -> apr_filepath_name_get     apr_get_groupid -> apr_gid_get     apr_get_groupname -> apr_gid_name_get     apr_compare_groups -> apr_gid_compare     apr_parse_addr_port -> apr_port_addr_parse     apr_shutdown -> apr_socket_shutdown     apr_bind -> apr_socket_bind     apr_listen -> apr_socket_listen     apr_accept -> apr_socket_accept     apr_connect -> apr_socket_connect     apr_send -> apr_socket_send     apr_sendv -> apr_socket_sendv     apr_sendto -> apr_socket_sendto     apr_implode_gmt -> apr_time_exp_gmt_get     apr_get_home_directory -> apr_uid_homepath_get     apr_get_userid -> apr_uid_get     apr_current_userid -> apr_uid_current     apr_compare_users -> apr_uid_compare     apr_get_username -> apr_uid_name_get     apr_recvfrom -> apr_socket_recvfrom     apr_sendfile -> apr_socket_sendfile     apr_recv -> apr_socket_recv      [Thom May]  *) Add APR_IPV6_V6ONLY socket option.  [Jeff Trawick]  *) Update timeout algorithm in free_proc_chain. If a subprocess     did not exit immediately, the thread would sleep for 3 seconds     before checking the subprocess exit status again. In a very     common case when the subprocess was an HTTP server CGI script,     the CGI script actually exited a fraction of a second into the 3     second sleep, which effectively limited the server to serving one      CGI request every 3 seconds across a persistent connection.     [Bill Stoddard, Kai.Risku@arrak.fi]  *) Update doxygen tags.  [Justin Erenkrantz]  *) NetWare: implemented a file IO path context scheme to directly     reference directory paths and files in the file system rather     than having to traverse the file system on every stat() or     open() call. (Performance enhancement) [Brad Nicholes]       *) ReliantUnix: recognize that dlsym() is in libdl and dlopen() is in     libc.  The check is generic so maybe this fixes some other system.     PR 14189  [Jeff Trawick]  *) Win32: Fix APR_APPEND file i/o. [Bill Stoddard]  *) Fix a problem retrieving the remote socket address for sockets     created via apr_os_sock_put() or apr_os_sock_make().  [Jeff Trawick]  *) Add recognition of and socket API support for the SCTP protocol.     [Randall Stewart <randall@stewart.chicago.il.us>]  *) Win32: apr_shutdown was not honoring apr_shutdown_how_e and     always shutting down the socket for read. This could result     in Apache HTTPD 2.0 clients getting early connection closures     because lingering_close() was broken. [Bill Stoddard, Allan Edwards]  *) Add apr_atomic_casptr() to support atomic compare-and-swap     of pointers  [Brian Pane]  *) Add apr_socket_create_ex() to allow protocol to be specified for the     socket.  With APR 1.0, this function will be removed and apr_socket_create()     will have the additional parameter.     [Randall Stewart <randall@stewart.chicago.il.us>]  *) Fix the detection of INT64_C() when defined in <stdint.h>.     [Joe Orton <joe@manyfish.co.uk>]  *) Don't use whitespace before preprocessor directives in the configure     logic.  Such whitespace breaks with some older preprocessors; a      particularly nasty break occurs on Tru64 4.0f where APR_CHECK_DEFINE      will always succeed.  [Joe Orton <joe@manyfish.co.uk>]  *) Add APR_IPV4_ADDR_OK flag to apr_sockaddr_info_get() to allow     apps to avoid lookup of IPv6 address if IPv4 address is sufficient.     (New APR_IPV6_ADDR_OK flag is similar.)  [Jeff Trawick]  *) Disable IPv6 support on Darwin.  The current IPv6 support has a     problem in getnameinfo() which breaks certain applications.     [Sander Temme <sctemme@covalent.net>, Jeff Trawick]  *) Support for SCO OpenServer Release 5 [Kean Johnston <jkj@caldera.com>]  *) Faster (inline and mutex-free) implementations of all apr_atomic     operations for Linux/x86 (requires a 486 or later; to enable,     configure APR with --enable-nonportable-atomics=yes )   [Brian Pane]  *) Add --bindir option to apr-config.  [Justin Erenkrantz]  *) Begin to rehash the test suite.  There is now a new test program called     testall.  This program currently runs testtime and teststr with the     CuTest framework.  The stand-alone programs for testtime and teststr     can be built, but only if a special flag is specified when building.     [Ryan Bloom]  *) Fix a broken check for a failure to read from the random device file.     PR 12615  [tenthumbs@cybernex.net]  *) Print informative link errors on Darwin.  [Justin Erenkrantz]Changes with APR 0.9.1  *) Fixed usage of alloca in apr_poll() on Tru64     [Dave Hill <ddhill@zk3.dec.com>]  *) Running "make check" in the toplevel directory or the test/ directory     will build and run all test programs.  [Aaron Bannert]  *) Add apr_array_pop().  [Justin Erenkrantz]  *) Fixed the native SPARC v8plus version of apr_atomic_dec     to match the semantics of the default C version [Brian Pane]Changes with APR 0.9.0  *) If the length argument to apr_snprintf is 0, then we should return the     length that the string would be if we actually were going to fill it out.     However, if the length argument is 0, we can also accept a NULL string.     Also, added a test case for this.  [Ryan Bloom]  *) Printing a string with apr_snprintf can seg fault, if a precision is     specified for the string, and the string being printed doesn't have a     trailing '\0'.  Fix that seg fault by not calling strlen if a precision     is specified when printing a string.  Also add a test to the test suite     for this case.     [R Samuel Klatchko <rsk@brightmail.com>]  *) handle leak related to threads on Windows2000/XP      [INOUE Seiichiro <inoue@ariel-networks.com>]  *) Includes moved to INCLUDEDIR/apr-{major} (e.g. /usr/include/apr-0)     [Greg Stein]  *) libtool versioning is used to give the library sonames a real     value. The libraries will be libapr-{major}.so.0.{minor}.{patch}     [Greg Stein]  *) Fix apr_tokenize_to_argv() to remove the escape character     (backslash) from the argument tokens. PR 11793 [Paul J. Reder]  *) Add APR_PARSE_ARGUMENTS and APR_LAYOUT macros for better layout     support. [Thom May]  *) Add parallel-apr layout which utilizes the major version number in     directories and library names.  [Justin Erenkrantz]  *) Add a version number to the library name (e.g. libapr-1.so) so     that apps can do things like: -lapr-1 or -lapr-2, depending on     which version they want to use and link against. [Greg Stein]  *) Add --version to apr-config so that apps can retrieve the version     information of the (installed) APR. [Greg Stein]  *) Remove the APRVARS system; apps should use apr-config. [Greg Stein]  *) EBCDIC: fix compile failure in strings/apr_strings.c in     httpd-2.0.40 with the following error message:     CANNOT COMPILE apr_strtoi64(), only ASCII and EBCDIC supported       *) In apr_signal_thread() remove synchronous signals from the mask     passed to sigwait().  It is never valid for them to be there.     Some platforms silently ignore them, some return EINVAL, some     don't process it as desired.  [Jeff Trawick]  *) Change config.nice generation to always expand variables.     [Justin Erenkrantz]  *) Renamed apr_strtoll()/apr_atoll() to follow int64 convention,     so these new helpers are apr_strtoi64/apr_atoi64(), since     'll' (long long) is a nonportable and aspecific construct.     Used ac/m4 tests to choose the appropriate fn behind strtoi64.     [William Rowe]  *) don't perform a strlen on that name value without checking for NULL      first (in getopt)     [David Waite <mass@akuma.org>, Ian Holsman]  *) Added apr_strtoll() and apr_atoll() to strings lib.     [Shantonu Sen <ssen@apple.com>, Wilfredo Sanchez]  *) Added a lightweight internal index to apr_table_t to speed up     table lookup operations  [Brian Pane]  *) initalize handle members to invalid before calling createprocess     on win32 [Rob Saccoccio <robs@fastcgi.com>]  *) Removed apr/i18n to apr-util/xlate for inclusion of apr-iconv     as required by missing libiconv.  [William Rowe]  *) Removed apr/md5 and apr/uuid into apr-util/crypto.  [William Rowe]  *) Add APR_BUFFERED support to apr_os_file_put().  [Justin Erenkrantz]  *) Fix misinterpretation of timeout for select() on Win32/Netware.     Identified by [TANAKA Koichi <tanaka@ariel-networks.com>]  *) Re-write apr_poll() on Unix.  This improves the performance by     giving the user back control over the memory in the pollset.     [Ryan Bloom]  *) Added APR_LIMIT_NOFILE option to apr_procattr_limit_set() to     control the file descriptor limit on platforms that support     RLIMIT_NOFILE.  [Brian Pane]  *) FreeBSD: change apr_sendfile to accomodate a 4.6 kernel patch.     [Greg Ames]  *) Faster code for the apr_table get/set functions  [Brian Pane]  *) Fix the userid functions on Irix to handle the way that Irix      reports a failure from getpwnam_r().  PR 10095.     [Robert I. Cowles <ric@cs.uregina.ca>, Jeff Trawick]  *) apr_table_do() and apr_table_vdo() now return an int rather than     void to indicate whether or not any of its iterations returned 0.     [Cliff Woolley]  *) Fix the definition of union semun so that it is valid on systems     where sizeof(long) != sizeof(int).  This resolves a hang on     HP-UX/Itanium.       [Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>]  *) Correct shared library support on Darwin to not fatally error out     when a shared library does not exist.  [Justin Erenkrantz]  *) Added optimized atomic CAS support for Linux/x86 (available only     when APR is configured with --enable-nonportable-atomics=yes)     [Brian Pane]  *) Fix a compile error in the EGD support in rand.c on older Solaris     versions.  PR 9976  [Jim Morris <jmorris@sunflower.com>]  *) Fixed apr_file_seek() to unset the eof_hit flag.  [Stas Bekman]  *) Removed --disable-atomics flag and added --enable-nonportable-atomics,     thereby defaulting to portable binaries on those systems that could     be optimized at the expense of portability. PR: 9507  [Aaron Bannert]  *) Added 2 additional lock functions: apr_proc_mutex_name and     apr_proc_mutex_defname which returns the type name of the mutex     (eg: "sysvsem") as well as the default mutex type (APR_LOCK_DEFAULT).     Mostly useful under Unix were the locktypes are selectable.     [Jim Jagielski]  *) Fixed apr_generate_random_bytes() for Win32 on Win NT or 9x by     dropping the 0x40 bit (CRYPT_SILENT) for earlier OS'es.     PR 9286  [William Rowe]  *) Added --with-devrandom=[DEV] configure flag which allows a particular     "/dev/random"-compatible device to be specified, overriding the     default search path (/dev/random then /dev/arandom then /dev/urandom).     Also, if --with-egd=<path> is specified, it now implies     --without-devrandom.  [Cliff Woolley]  *) Darwin/Mac OS X: Don't leave zombie processes when the app calls     apr_signal(SIGCHLD, SIG_IGN).  This fixes a problem with Apache's     mod_cgid.  PR 9168.  [Jeff Trawick]  *) Win32: Fix bug where apr_sendfile() was incorrectly returning     APR_SUCCESS on a TransmitFile call that was interrupted by     the client closing its end of the connection. Always call      GetOverlappedResults() to get results of async TransmitFile()     completion notification. [Bill Stoddard]   *) Renamed APR_XtOffset -> APR_OFFSET and APR_XtOffsetOf -> APR_OFFSETOF.     [Cliff Woolley]  *) Cygwin: the unix version of apr_file_open() must respect the     APR_BINARY flag if the underlying platform requires it (in     which case we assume O_BINARY is defined).  PR 9185.     [Cliff Woolley]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?