changes
来自「linux网络服务器工具」· 代码 · 共 1,556 行 · 第 1/5 页
TXT
1,556 行
*) Linux, AIX: Use crypt_r() instead of crypt() because the native crypt() is not thread-safe. The misuse of crypt() led to intermittent failures with Apache basic authentication when crypt passwords were being used. [Jeff Trawick] *) AIX: Global mutexes don't need an intraprocess mutex when SysV sems are used for the crossprocess mutex. Darwin: The same optimization was applied for Posix sems. [Jeff Trawick] *) Fix a problem with global mutexes on OS/390 when something other than the default mechanism (SysV sem) was used. The mutexes didn't necessarily block out other threads in the same process. [Jeff Trawick] *) Fixed apr_strfsize formatting of values over 1 gig [Matsuzaki Yoshinobu <maz@iij.ad.jp>] *) Renamed --disable-atomics as --disable-optimized-atomics, since it doesn't really disable the atomics. [Aaron Bannert] *) Converted apr_pcalloc to a macro [Brian Pane] *) Fixed APR_STATUS_IS_ETIMEDOUT macro. [Dagfinn Aarvaag <dagfinn.aarvaag@beepscience.com>] *) Add --disable-atomics switch to override our handcoded assembly optimizations. Note that this has no effect if your operating system has a userspace atomic interface. [Justin Erenkrantz] *) Remove Linux atomic support since it does not have a usable userspace atomic interface. [Justin Erenkrantz] *) Don't require that the DNS can map 127.0.0.1 when checking for the presence/usability of getnameinfo(). PR 7642. [Jeff Trawick] *) Remove APR_WANT_SIGNAL from apr_want.h because code must include apr_signal.h in order to get consistent definitions. [Roy Fielding] *) Don't try to use /dev/zero and mmap on platforms that don't support that (such as HP-UX). PR 8537. [Justin Erenkrantz] *) Reduce the number of apr_sendfile calls on AIX and OS/390 by remembering when the kernel tells us the next one will block. [Jeff Trawick] *) Reduce the number of apr_sendfile calls on FreeBSD by remembering when the kernel tells us the next one will block. [Greg Ames] *) To support modules like PHP, which implement their own loaded extensions, Darwin needs to place their public symbols in the global table. [Marko Karppinen <markonen@php.net>, Jim Jagielski] *) Rename apr_get_groupname to apr_group_name_get. [Thom May <thom@planetarytramp.net>] *) Allow VPATH builds to properly build dependencies and switch to a .deps dependency model to mimic httpd-2.0. [Justin Erenkrantz] *) Tru64: Stop leaving zombies in APR apps like mod_cgid which tell APR to ignore SIGCHLD. [Dave Hill <David.D.Hill@Compaq.com>] *) Ensure that the ATOMIC_HASH can not be negative. [Joe Orton <jorton@redhat.com>] *) Fix a problem with eof reporting with Unix file I/O on unbuffered files. [Stas Bekman <stas@stason.org>] *) Rename apr_explode_time to apr_time_exp_tz. [Thom May <thom@planetarytramp.net>] *) Rename apr_explode_localtime to apr_time_exp_lt. [Thom May <thom@planetarytramp.net>] *) Set precompiler for Solaris atomics when using GNU binutils. PR 7876. [solomon@conceptshopping.com (Marvin Solomon)] *) AIX: Fix breakage with 64-bit builds on versions of AIX prior to 5L. PR 7957 [Jeff Trawick] *) On socket write functions (apr_sendfile, apr_send, apr_sendv), added a select to wait for writability on the socket if the previous write was incomplete. [Jeff Trawick, Brian Pane] *) Deprecated the apr_lock.h API. Please see the following files for the improved thread and process locking and signaling: apr_proc_mutex.h, apr_thread_mutex.h, apr_thread_rwlock.h, apr_thread_cond.h, and apr_global_mutex.h. [Aaron Bannert] *) Fix some daylight savings time breakage on (at least) AIX, Solaris, and HP-UX. [Jeff Trawick] *) Added support for Posix semaphores (sem_open, et.al.) for mutex locking. We use named semaphores in this implementation. The default priority is between pthread and sysvsem. [Jim Jagielski] *) Get flock-based mutexes to work in apps like Apache. Use the same permissions on flock- and fcntl-based mutexes as Apache 1.3. [Jeff Trawick] *) Fix apr-config so that it will not attempt to cd to a non-existent directory. [Justin Erenkrantz] *) Change the ordering of the apr_lock implementation method to better match what's done in Apache 1.3. The ordering is now (highest to lowest): pthread -> sysvsem -> fcntl -> flock. [Jim Jagielski] *) Improve detection of the INT64_C macro to prevent problems with HP-UX's ANSI C compiler. PR 8932. [Justin Erenkrantz] *) Make sure gethostbyname() can handle 255.255.255.255 if we are to trust it to handle numeric address strings in apr_sockaddr_info_get(). This fixes a problem on HP-UX which led to an assertion failure at Apache startup when using vhosts. [Jeff Trawick] *) Don't mask SIGUSR2 [Jin Hong <jinh@cnet.com>] *) Load libraries if they not MH_BUNDLE, but if they are not, it just attempts to link them as shared libs. [Pier Fumagalli <pier@betaversion.org>] *) apr_atomic_dec now returns a zero value if the value of the atomic is zero, non-zero otherwise [Ian Holsman] *) When opening a file, only create an internal thread mutex if APR_XTHREAD is set. [Brian Pane] *) Move the kill_conditions enum in apr_thread_proc.h into the APR namespace. kill_after_timeout et al have been renamed appropriately (e.g., APR_KILL_AFTER_TIMEOUT). [Jeff Trawick] *) Fix a segfault in apr_thread_rwlock_destroy() on Win32. [INOUE Seiichiro <inoue@ariel-networks.com>] *) configure now checks to see if we can change DNS timeout values [Ian Holsman] *) Fix a bug in apr_file_seek() on Unix when using buffered files. PR 10003 [Jeff Trawick] *) Small table performance optimization: eliminate the zero-fill of newly allocated elements when expanding a table's size. [Brian Pane] *) Allow APR to install its generated libtool(s) via the --with-installbuilddir option (defaults to ${datadir}/build). [Justin Erenkrantz] *) renames: apr_ansi_time_to_apr_time becomes apr_time_ansi_put ap_exploded_time_t becomes apr_time_exp_t [Thom May <thom@planetarytramp.net>] *) Add the APR_FILE_NOCLEANUP flag to apr_file_open(). Adding the flag will prevent the file from being closed when the pool passed in on apr_file_open() is destroyed. This feature is useful when using apr_os_file_get|put() to manage the apr_os_file_t in apr_file_t (ie, file handle caching in the HTTP server) [Bill Stoddard] *) Win32: Fix APR_XTHREAD problems in apr_file_read() and apr_file_write(). Multiple threads were using the same overlapped structure and io event handle created in the open call, which could cause unpredictable file i/o results. [Bill Stoddard] *) Win32: apr_proc_mutex_trylock and apr_proc_mutex_lock were incorrectly returning APR_BUSY if the lock was previously held by a thread that exited before releasing the lock (ie, if the process holding the lock segfaults). The MSDN doc says when WaitForSingleObject returns WAIT_ABANDONED, the calling thread takes ownership of the mutex, so these two routines should return APR_SUCCESS in this case, not APR_BUSY. [Bill Stoddard] *) Added a new m4 function APR_EXPAND_VAR that will iteratively interpolate the contents of a variable, such as $sysconfdir, for use in a borne script. [Aaron Bannert] *) apr-atomic support for old-sparc's and gas on solaris [Dale Ghent <daleg@elemental.org>, jean-frederic clere, Ian Holsman] *) Change apr_proc_detach to take a parameter that can enable/disable automatic forking (aka, to "daemonize"). [Jos Backus <josb@cncdsl.com>, Aaron Bannert] *) Implement apr_global_lock_foo() on Win32 [Bill Stoddard] *) Fix select() argument call when waiting for IO. PR 9674. [David MacKenzie <djm@pix.net>] *) Add a new lock API (apr_global_mutex_t) to provide guaranteed cross-process AND cross-thread mutual exclusion. [Aaron Bannert] *) Note: We are in the process of deprecating the apr_lock.h API. The new and improved lock/synchronization APIs now reside in apr_thread_mutex.h, apr_proc_mutex.h, apr_thread_rwlock.h, and apr_thread_cond.h. [Aaron Bannert] *) Enable autoconf 2.52{f,g} build support. [Blair Zajac <blair@orcaware.com>] *) Added new functions for atomic operations. These are experimental at the moment, so use in apps is discouraged [Ian Holsman] *) Correct serious problems with the Win32 apr_file_dup2 and apr_file_open_stdxxx() fns. [William Rowe] *) Begin implementation of the WinCE port. [Mladen Turk <mturk@mappingsoft.com>] *) Disable SHMEM_MMAP_ZERO on HPUX 11.x where it is not supported. Use SHMEM_SHMGET_ANON instead. [Aaron Bannert] *) Fix a few attempts to add to a void * ptr in the Unix shared memory support code. PR #9710 Per Ekman [pek@pdc.kth.se] *) In the Linux apr_sendfile(), fix the types of some parameters to apr_send() and apr_recv(). Breakage was seen in 64-bit mode on s/390. PR #9712 [Neale.Ferguson@SoftwareAG-usa.coom] *) added APR_PROGRAM_ENV and APR_PROGRAM_PATH options for starting processes via apr_proc_create() [Greg Stein] *) Deprecated apr_pool_free_blocks_num_bytes() [Sander Striker] *) Add --enable-pool-debug to make it easier for people to enable pool debug mode. Removed the APR_POOL_DEBUG_VERBOSE define that was previously being used. [Sander Striker] *) Changed the apr_file_dup2() function prototype. It can only take and reuse an apr_file_t*, and will no longer create one if *new_file == NULL (use apr_file_dup() for that). [Aaron Bannert] *) Implemented name-based shared memory on Unix. [Aaron Bannert] *) Fix spelling mistakes in APRDesign. [Blair Zajac <blair@orcaware.com>] *) Ensure that apr_file_mktemp creates the temp file if it isn't there. [John Sterling <sterling@covalent.net>] *) Make sure to pre-mark anon SysV shared memory segments as removed. [Jim Jagielski] *) Add --with-efence to allow usage of Electric Fence. [Justin Erenkrantz] *) Updated the pools debug code. Check if a pool is still valid on the most common apr_pool_xxx functions. Fix the way APR_POOL_DEBUG_VERBOSE was using stderr. Make the output somewhat nicer in this debug mode. [Sander Striker] *) Add new define APR_POOL_DEBUG_VERBOSE which spits out info about pool creation/destruction [Ian Holsman] *) Fix GMT offset adjustments for platforms that do not have native GMT offset adjustments. [Jon Travis <jtravis@covalent.net>] *) Add new apr_shm_t API and remove old apr_shmem_t API. The new API handles both anonymous and name-based shared memory. Anonymous shared memory segments are only usable on systems with process inheritance, and so the new API with name-based segments is usable on platforms like Win32. [Aaron Bannert and William Rowe with much help from Justin Erenkrantz and Sander Striker] *) Add --with-egd to support EGD-compatible entropy gatherers for those platforms without native support. [Justin Erenkrantz] *) apr_lock_create() and apr_proc_mutex_create() now have an additional parameter for specifying the lock mechanism. apr_lock_create_np() and apr_proc_mutex_create_np() have been removed. [Jeff Trawick] *) Change the prototype of apr_thread_exit() so that the apr_status_t is no longer a pointer. It was difficult and sometimes hazardous to return a apr_status_t* at times, and this allows us to return the APR_* error codes directly. [Aaron Bannert] *) Add apr_sockaddr_equal() for comparing APR sockaddrs. [Jeff Trawick] *) Win32: apr_sendfile() should return APR_ENOTIMPL if oslevel < WINNT. [Bill Stoddard] *) Put new pools code in place which allows applications to switch off locking on pools operations in case a pool is guaranteed to never being used in more than one thread at the same time. We've seen a significant performance improvement over the old code. [Sander Striker] *) Add apr-config - a shell script to allow third-party programs easy access to APR configuration parameters. [Justin Erenkrantz] *) Add find_apr.m4 to allow third-party programs that use APR to have a standard m4 macro for detection. [Greg Stein] *) SEGV in apr_table_overlap [Brian Pane] *) apr_array_copy speedup by removing the zero-fill [Brian Pane] *) Fix build breakage on systems with getaddrinfo(
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?