httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilfredo Sanchez <>
Subject Re: [PATCH] BeOS for Apache 1.3.x
Date Wed, 26 Jan 2000 04:43:37 GMT
| I meant to send this prior to the release but have been kinda  
busy.  Anyway
| here is the patch to get 1.3.x working "out of the box" on BeOS.   
| tidies up a few small niggles, forces the single process mode and  
gets the
| support programs building.  Can these be applied against the 1.3.x  
tree if
| they're OK?

  I committed all of your changes except the one_process hack.  I'm  
not clued in on the problem, can you verify at least that you do want  
to set one_process to one after child_timeouts is set based on it's  
prior value, and maybe clue me in on why you need to force this?   
This will obviously make the server not-so-responsive.  I assume this  
is a workaround for some nasty OS bug we can't easily work around?

  Remaining diff is below.


diff -ru apache_1.3.11/src/main/http_main.c  
--- apache_1.3.11/src/main/http_main.c	Wed Jan 12 15:54:58 2000
+++ apache_1.3.11_beos/src/main/http_main.c	Mon Jan 24 12:16:01 2000
@@ -4963,6 +4964,11 @@

     child_timeouts = !ap_standalone || one_process;
+#ifdef BEOS
+    /* make sure we're running in single_process mode - Yuck! */
+    one_process = 1;

 #ifndef TPF
     if (ap_standalone) {

       Wilfredo Sanchez,
Apple Computer, Inc., Core Operating Systems / BSD
          Open Source Engineering Lead
   1 Infinite Loop, 302-4K, Cupertino, CA 95014

View raw message