httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Thu, 17 Jan 2002 21:21:10 GMT
stoddard    02/01/17 13:21:10

  Modified:    src      CHANGES
               src/main http_main.c
  Log:
  On HPUX 11.x, the 'ENOBUFS, No buffer space available'
  error occures because the accept() cannot complete.
  You will not see ENOBUFS at 10.20 because the kernel
  hides any occurrence from being returned from user space.
  ENOBUFS at 11.0 TCP/IP is quite possible, and could
  occur intermittently. As a work-around, we are going to
  ingnore ENOBUFS.
  
  Submitted by:	madhusudan_mathihalli@hp.com
  Reviewed by:	Bill Stoddard
  
  Revision  Changes    Path
  1.1754    +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1753
  retrieving revision 1.1754
  diff -u -r1.1753 -r1.1754
  --- CHANGES	17 Jan 2002 13:20:50 -0000	1.1753
  +++ CHANGES	17 Jan 2002 21:21:09 -0000	1.1754
  @@ -1,4 +1,7 @@
   Changes with Apache 1.3.23
  +  *) HPUX 11.*: Do not kill the child process when accept() 
  +     returns ENOBUFS on HPUX 11.*.
  +     [madhusudan_mathihalli@hp.com]
   
     *) PORT: Numerous additions to Cygwin, including: defaulting
        to Posix thread accept mutex, excluding the call to
  
  
  
  1.571     +13 -0     apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.570
  retrieving revision 1.571
  diff -u -r1.570 -r1.571
  --- http_main.c	17 Jan 2002 13:20:51 -0000	1.570
  +++ http_main.c	17 Jan 2002 21:21:09 -0000	1.571
  @@ -4358,6 +4358,19 @@
   		 * to just exit in most cases.
   		 */
                   switch (errno) {
  +
  +#if defined(HPUX11) && defined(ENOBUFS)
  +                    /* On HPUX 11.x, the 'ENOBUFS, No buffer space available'
  +                     * error occures because the accept() cannot complete.
  +                     * You will not see ENOBUFS at 10.20 because the kernel
  +                     * hides any occurrence from being returned from user space.
  +                     * ENOBUFS at 11.0 TCP/IP is quite possible, and could
  +                     * occur intermittently. As a work-around, we are going to
  +                     * ingnore ENOBUFS.
  +                     */
  +                case ENOBUFS:
  +#endif
  +
   #ifdef EPROTO
   		    /* EPROTO on certain older kernels really means
   		     * ECONNABORTED, so we need to ignore it for them.
  
  
  

Mime
View raw message