httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_cgid.c
Date Wed, 02 Aug 2000 23:47:59 GMT
trawick     00/08/02 16:47:59

  Modified:    src/modules/standard mod_cgid.c
  Log:
  Don't trace EINTR errors from accept() on the Unix socket.
  
  Revision  Changes    Path
  1.34      +5 -2      apache-2.0/src/modules/standard/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_cgid.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- mod_cgid.c	2000/08/02 05:27:15	1.33
  +++ mod_cgid.c	2000/08/02 23:47:58	1.34
  @@ -571,8 +571,11 @@
           len = sizeof(unix_addr);
           sd2 = accept(sd, (struct sockaddr *)&unix_addr, &len);
           if (sd2 < 0) {
  -            ap_log_error(APLOG_MARK, APLOG_ERR, errno, (server_rec *)data,
  -                         "Error accepting on cgid socket.");
  +            if (errno != EINTR) {
  +                ap_log_error(APLOG_MARK, APLOG_ERR, errno, 
  +                             (server_rec *)data,
  +                             "Error accepting on cgid socket.");
  +            }
               continue;
           }
          
  
  
  

Mime
View raw message