You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1998/01/10 09:30:19 UTC

[PATCH] OSF/1 serialized accept

Tested on V3.2 (which I think is the earliest that anyone uses).  flock is
like several orders of magnitude faster than fcntl even on unexported
local disks... it seems to do the network stuff for fcntl regardless. 
This fixes PR#467 on OSF/1.

Additionally I double checked and I cannot make PR#463 (vhost problems) 
manifest itself, I tested using 127.0.0.1 as one of the vhosts (tried
using explicit IP and hostname).

That's it for outstanding OSF/1 stuff that was bugging me. 

Dean

Index: main/conf.h
===================================================================
RCS file: /export/home/cvs/apachen/src/main/conf.h,v
retrieving revision 1.165
diff -u -r1.165 conf.h
--- conf.h	1998/01/07 16:46:01	1.165
+++ conf.h	1998/01/10 08:15:42
@@ -237,6 +237,8 @@
 #define HAVE_CRYPT_H
 #define NO_LONG_DOUBLE
 #define HAVE_SYSLOG
+#define USE_FLOCK_SERIALIZED_ACCEPT
+#define SAFE_UNSERIALIZED_ACCEPT
 
 #elif defined(PARAGON)
 #define HAVE_GMTOFF