MPE/iX Webwise secure web server - porting case study

February 9, 2001
Solution Symposium
Page 9
hp e3000
webwise
porting
apache run issues - sockets
#define USE_FCNTL_SERIALIZED_ACCEPT
Apache children must call accept() in a serialized manner
to correctly handle multiple sockets (80,443)
http://httpd.apache.org/docs/misc/perf-tuning.html
setsockopt(SO_REUSEADDR) now supported by MPE
not supported at time of original apache port
enable this code by removing #ifndef MPE
setsockopt(SO_KEEPALIVE) exists but still errors out on MPE
suppress this code with #ifndef MPE
src/main/rfc1413.c bind() requires INADDR_ANY
but what about multiple NICs or IP aliasing???