bjh         99/06/24 07:30:34

  Modified:    src/main http_main.c
               src      CHANGES
  Log:
  OS/2: Add clean-up to stop children taking the accept mutex with them to their
  grave. When an OS/2 mutex's owner dies the mutex becomes invalid, causing the
  error "OS2SEM: Error 105 getting accept lock. Exiting!"
  
  PR: 4505
  
  Revision  Changes    Path
  1.449     +2 -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.448
  retrieving revision 1.449
  diff -u -r1.448 -r1.449
  --- http_main.c       1999/06/22 21:55:25     1.448
  +++ http_main.c       1999/06/24 14:30:30     1.449
  @@ -918,6 +918,8 @@
        ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, server_conf,
                    "Child cannot open lock semaphore, rc=%d", rc);
        clean_child_exit(APEXIT_CHILDINIT);
  +    } else {
  +        ap_register_cleanup(p, NULL, accept_mutex_cleanup, ap_null_cleanup);
       }
   }
   
  
  
  
  1.1386    +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1385
  retrieving revision 1.1386
  diff -u -r1.1385 -r1.1386
  --- CHANGES   1999/06/23 18:24:01     1.1385
  +++ CHANGES   1999/06/24 14:30:32     1.1386
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.7
   
  +  *) OS/2: Fix problem with accept lock semaphores where server would die 
with
  +     "OS2SEM: Error 105 getting accept lock. Exiting!" 
  +     [Brian Havard] PR#4505
  +
     *) Add DSO support for DGUX 4.x using gcc. Tested on x86 platforms.
        [Randy Terbush <[EMAIL PROTECTED]>]
    
  
  
  

Reply via email to