You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Matthews <ma...@uniserve.com> on 1996/04/10 01:31:40 UTC
apache 1.0.3
I have ported apache 1.0.3 to the MODCOMP Realix operating system.
This is a real-time variant of Motorola's SYSVR3 running on MOTOROLA 88K and Intel.
MODCOMP - ( http:/www.modcomp.com/ )
First a problem. Realix (and maybe other systems, I dont know) does not produce
a SIGPIPE signal on broken sockets, or any other signal. This makes apache a CPU time
hog when sockets fail as some writes run in a tight loop. I added an option
NO_SOCKET_SIGPIPE and put socket error checks in http_protocol.c and
some code in http_main.c to simulate SIGPIPE.
Second, Realix has real-time POSIX-1b extensions. So I put in an option for
POSIX_SERIALIZED_ACCEPT which uses POSIX named semaphores instead of Unix
file locks. They are faster, but I dont think there will be a great deal
of noticeable improvement. They were just there.
I have attached files:
Configuration - REALIX settings
conf.h - REALIX settings
http_main.c - code changes
http_protocol.c - code changes
Do with them as you will.
The site it is running on is http://www.terrigal.net.au/
--
Brian Matthews matthews@haven.uniserve.com
Chilliwack, BC, Canada