changes
来自「linux网络服务器工具」· 代码 · 共 1,556 行 · 第 1/5 页
TXT
1,556 行
pending writes for a buffered file. [Joe Orton]Changes for APR 1.2.2 *) Fix crash in apr_dir_make_recursive() for relative path when the working directory has been deleted. [Joe Orton] *) Win32: fix apr_proc_mutex_trylock() to handle WAIT_TIMEOUT, returning APR_EBUSY. [Ronen Mizrahi <ronen@tversity.com>] *) Fix apr_socket_opt_set() issue where TCP_NODELAY would be set when TCP_DEFER_ACCEPT was set. [Brian Pane] *) Allow TCP_NODELAY and TCP_CORK to be set concurrently on Linux 2.6 and later. [Joe Orton] *) Fix apr_socket_addr_get(,APR_REMOTE,) after a non-blocking connection is completed. PR 32737. [Joe Orton] *) Fix apr_file_gets() and apr_file_read() to catch write failures when flushing pending writes for a buffered file. [Joe Orton] *) Fix apr_file_write() infinite loop on write failure for buffered files. [Erik Huelsmann <ehuels gmail.com>] *) Fix error handling where apr_uid_* and apr_gid_* could return APR_SUCCESS in failure cases. PR 34053 continued. [Joe Orton]Changes for APR 1.2.1 *) Refactor Win32 condition variables code to address bugs 27654, 34336. [Henry Jen <henryjen ztune.net>, E Holyat <eholyat yahoo.com>]Changes for APR 1.2.0 *) If getpwuid_r or getgrgid_r set their results to NULL, it is an error. PR 34053. [Paul Querna] *) Switch to lazy initialization of the pollset that's used within apr_file_t on platforms where apr_wait_for_io_or_timeout() doesn't use poll(2). (This fixes a performance problem observed in httpd-2.x on OS X due to the use of poll now being disabled by default on that platform.) [Brian Pane] *) Fix Pollset corruption on Solaris 10. [Paul Querna] *) Add %pt support to apr_snprintf() for printing an apr_os_thread_t in hex format. [Jeff Trawick] *) Support APR_SO_SNDBUF and APR_SO_RCVBUF on Windows. PR 32177. [Sim <sgobbi datamanagement.it>, Jeff Trawick] *) Fix apr_table_overlap()'s handling of tables allocated from different pools. [Joe Schaefer <joe+gmane sunstarsys.com>] *) Add support for uuid_generate on OS X 10.4. [Paul Querna] *) Include the C preprocessor flags in --cflags for pkg-config. [Paul Querna] *) Fix issue with poll() followed by net I/O yielding EAGAIN on Mac OS 10.4 (Darwin 8). [Wilfredo Sanchez]Changes for APR 1.1.1 *) Disable sendfile support for S/390 only in kernel versions < 2.4.0. [Joe Orton] *) Fix posix rwlock detection on Darwin. [Aaron Bannert] *) Build fix for Multicast support on HP-UX 11.00 and Tru64 [Joe Orton] *) Fix libapr.rc for Win32 builds [William Rowe] *) Rewrite apr_file_writev_full using apr_file_write_full. [Paul Querna] *) Use APR_RING_CONCAT for moving dead list in KQueue, sys_epoll, and Event Ports. [Paul Querna] *) find_apr.m4: Try installed APR before bundled copy if --with-apr not passed to configure. [Justin Erenkrantz]Changes for APR 1.1.0 *) Added apr_procattr_user_set and apr_procattr_group_set setting the user and group for new processes. [Mladen Turk] *) Add APR Multicast functions; including support for Source-Specific Multicast from Colm MacCárthaigh. [Paul Querna] *) Add a build script to create a solaris package. [Graham Leggett] *) Add support for APR_TCP_DEFER_ACCEPT. [Paul Querna] *) Rename the apr_file_permissions macros (APR_UREAD, APR_UWRITE etc.) to have prefix APR_FPROT_ (old names kept for compatibility). [Stas Bekman] *) Emit the run-time link path option in apr-config after installation if the user is linking with libtool. [Justin Erenkrantz] *) Add apr_file_writev_full to ensure an entire iovec is writen to a file. [Paul Querna] *) Remove the runtime test for Sendfile versions on FreeBSD. PR 25718. [Mike Silbersack <silby silby.com>, Paul Querna] *) Rename the apr_file_open macros (APR_READ, APR_WRITE, etc.) to have prefix APR_FOPEN_ (old names kept for compatibility). [Stas Bekman] *) Added apr_os_uuid_get() support for Linux via libuuid and for modern BSDs which have uuid_create as part of their libc. [Paul Querna] *) Added Solaris 10 'Event Ports' as a backend for APR Pollset. This backend also supports the APR_POLLSET_THREADSAFE flag. [Paul Querna] *) Added the APR_POLLSET_THREADSAFE flag. This allows multiple threads to call the Pollset Add or Remove functions in a thread safe manner. Currently only EPoll and KQueue support this flag. [Paul Querna] *) Split poll/unix/poll.c into separate files for each Poll or Pollset implementation. [Paul Querna] *) Rewrite apr_file_printf to handle arbitrary length strings. PR 28029. [Chris Knight <Christopher.D.Knight nasa.gov>, Garrett Rooney <rooneg electricjellyfish.net>]Changes for APR 1.0.2 *) [NetWare] Fixed some type mismatches in threadproc/netware/proc.c and locks/netware/thread_mutex.c that prevented APR from building with the latest release of the LibC SDK. [Brad Nicholes] Changes for APR 1.0.1 *) apr_password_get(): Fix the check for buffer overflow. [Jeff Trawick] *) Fix HUP return codes in pollset when using KQueue. [Paul Querna] *) Prevent unbounded memory use during repeated operations on a hash table. [Julian Foad <julianfoad btopenworld.com> *) Moved repository to SVN [Hackathon] *) jlibtool: Ignore '-export-symbols-regexp' option. [Justin Erenkrantz] *) fix apr_file_dup and apr_file_dup2 win32 implementations to create a mutex [Steve Hay <steve.hay uk.radan.com>] *) Makes the threads to behave like on posix. If the thread is created without APR_DETACH expect that the thread_join will be called, so don't close the handle in advance, if the thread has already finished. [Mladen Turk] *) The apr/test/Makefile.win is missing a target to build a readchild.exe that test is depending on but is never built. [Mladen Turk] *) Improve apr_file_gets() performance on buffered files. [Justin Erenkrantz] *) Win32: Fix bug in apr_socket_sendfile that interferred with Win32 LSPs. PR 23982 [Jan Bilek, Bill Stoddard] *) Win32: Fix bug tracking the file pointer on a file opened for overlapped/APR_XTHREAD io. [Bill Stoddard]Changes with APR 1.0 *) Only install apr-$MAJOR-config and add appropriate detection code to find_apr.m4 (APR_FIND_APR). [Max Bowsher <maxb ukf.net>] *) Remove APR_STATUS_IS_SUCCESS() macro. [Justin Erenkrantz] *) apr_proc_create() on Unix: Remove unnecessary check for read access to the working directory of the child process. PR 30137. [Jeremy Chadwick <apache jdc.parodius.com>] *) Add jlibtool - enabled with '--enable-experimental-libtool' option. [Justin Erenkrantz] *) Add support for KQueue and sys_epoll to apr_pollset. [Paul Querna] *) Support threading on FreeBSD 5.x where kern.osreldate >= 502102. [Craig Rodrigues <rodrigc crodrigues.org>] *) Add an RPM spec file derived from Fedora Core. [Graham Leggett, Joe Orton] *) Fix apr_threadattr_detach_set() on Mac OS X. PR 28472. [INOUE Seiichiro <inoue ariel-networks.com>] *) Change default inter-process locking mechanisms: POSIX semaphores and pthread cross-process mutexes are not used by default; on Solaris, fcntl locks are used by default. [Joe Orton] *) Add apr_threadattr_guardsize_set() for overriding the default stack guard area size for created created by apr_thread_create(). [Joe Orton] *) Add apr_shm_remove() function for removing a named shared memory segment. [Amit Athavale <amit_athavale persistent.co.in>] *) Add apr_strtoff() function for converting numeric strings into apr_off_t values. [André Malo <nd perlig.de>, Joe Orton] *) Fix stack overflow with IPv6 apr_socket_accept() on Win32. PR 28471. [inoue <inoue ariel-networks.com>] *) Add new functions apr_signal_block, apr_signal_unblock to block/unblock the delivery of a particular signal. [Madhusudan Mathihalli] *) Add support for developers to use their own hashing function with apr_hash_make_custom. [Ami Ganguli <hse_ami yahoo.co.uk>] *) Support "large files" by default on 32-bit Unix platforms which implement the LFS standard. [Joe Orton] *) Add apr_threadattr_stacksize_set() for overriding the default stack size for threads created by apr_thread_create(). [Jeff Trawick] *) The whole codebase was relicensed and is now available under the Apache License, Version 2.0 (http://www.apache.org/licenses). [Apache Software Foundation] *) Switch to a single, top-level make. [Greg Stein] *) new error status APR_STATUS_IS_ENOTENOUGHENTROPY, Doxygen fixes [Sander Temme <sander at temme dot net] *) Add apr_socket_type_get() for retrieving the type (e.g., stream) of the socket. [Philippe M. Chiasson] *) Removed deprecated interface apr_proc_other_child_check() that behaved differently between win32 and unix. The unix behavor is now accomplished with apr_proc_other_child_refresh_all(APR_OC_REASON_RESTART) The win32 behavor is now accomplished with apr_proc_other_child_refresh_all(APR_OC_REASON_RUNNING) *) Removed apr_socket_opt_{get|set}(..., APR_SO_TIMEOUT) which was deprecated in favor of apr_socket_timeout_{get|set}(). *) Change i386 FreeBSD to use the asm routines in apr_atomic.h to overcome issues with the FreeBSD atomic functions return type on i386. [David Reid] *) Added new versions of the apr_atomic functions for use with 32-bit ints [Brian Pane] *) The following deprecated interfaces have been removed: apr_accept -> apr_socket_accept apr_allocator_get_mutex -> apr_allocator_mutex_get apr_allocator_get_owner -> apr_allocator_owner_get apr_allocator_set_max_free -> apr_allocator_max_free_set apr_allocator_set_mutex -> apr_allocator_mutex_set apr_allocator_set_owner -> apr_allocator_owner_set apr_atomic_add -> apr_atomic_add32 apr_atomic_cas -> apr_atomic_cas32 apr_atomic_dec -> apr_atomic_dec32 apr_atomic_inc -> apr_atomic_inc32 apr_atomic_read -> apr_atomic_read32 apr_atomic_set -> apr_atomic_set32 apr_bind -> apr_socket_bind apr_compare_groups -> apr_gid_compare apr_compare_users -> apr_uid_compare apr_connect -> apr_socket_connect apr_current_userid -> apr_uid_current apr_explode_localtime -> apr_time_exp_lt apr_explode_time -> apr_time_exp_tz apr_filename_of_pathname -> apr_filepath_name_get apr_file_set_inherit -> apr_file_inherit_set apr_file_unset_inherit -> apr_file_inherit_unset apr_getsocketopt -> apr_socket_opt_get apr_get_groupid -> apr_gid_get apr_get_groupname -> apr_gid_name_get apr_get_home_directory -> apr_uid_homepath_get apr_get_userid -> apr_uid_get apr_get_username -> apr_uid_name_get apr_group_name_get -> apr_gid_name_get apr_implode_gmt -> apr_time_exp_gmt_get apr_is_fnmatch -> apr_fnmatch_test apr_listen -> apr_socket_listen apr_lstat -> apr_stat apr_pool_get_abort -> apr_pool_abort_get apr_pool_get_parent -> apr_pool_parent_get apr_pool_set_abort -> apr_pool_abort_set apr_pool_sub_make -> apr_pool_create_ex apr_proc_other_child_read -> apr_proc_other_child_alert apr_recv -> apr_socket_recv apr_recvfrom -> apr_socket_recvfrom apr_send -> apr_socket_send apr_sendfile -> apr_socket_sendfile apr_sendto -> apr_socket_sendto apr_sendv -> apr_socket_sendv apr_setsocketopt -> apr_socket_opt_set apr_shutdown -> apr_socket_shutdown apr_signal_get_description -> apr_signal_description_get apr_sockaddr_ip_set -> apr_sockaddr_info_get apr_sockaddr_port_get -> (access directly) apr_sockaddr_port_set -> apr_sockaddr_info_get apr_socket_create_ex -> apr_socket_create apr_socket_set_inherit -> apr_socket_inherit_set apr_socket_unset_inherit -> apr_socket_inherit_unset FNM_NOMATCH -> APR_FNM_NOMATCH FNM_NOESCAPE -> APR_FNM_NOESCAPE FNM_PATHNAME -> APR_FNM_PATHNAME
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?