Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
1999-08-19
1999-08-19 23:43:49 by Per Hedbor <ph@opera.com>
2b19ebdf0dea3307b40ddd27d5c7034926e31759 (
19
lines) (+
15
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Made keep-alive the default state of things, added --without-keep-alive
Rev: server/start:1.71
1:
#!/bin/sh #
-
# $Id: start,v 1.
70
1999/08/
06
16
:
40
:
57
grubba
Exp $
+
# $Id: start,v 1.
71
1999/08/
19
23
:
43
:
49
per
Exp $
cd `dirname $0`
36:
####### BEGIN ARGUMENT PARSING
+
+
DEFINES="$DEFINES -DKEEP_ALIVE"
+
# Enable threads (if available) on Solaris. # Most other OS's have thread bugs that cause them or Roxen to crash. if uname | grep 'SunOS' >/dev/null 2>&1; then
92:
'--no-threads'|'--without-threads'|'--disable-threads') DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//'`" ;;
+
'--no-keep-alive'|'--without-keep-alive'|'--disable-keep-alive')
+
DEFINES="`echo $DEFINES | sed -e 's/-DKEEP_ALIVE//'`"
+
;;
'--with-profile'|'--profile') DEFINES="-DPROFILE $DEFINES" ;;
185:
for each and every file. .B--with-keep-aliveB.: Enable keep alive in the HTTP
-
protocol module. This
will
soon
be
-
the default.
Some clients might have
-
problems
with
keepalive
.
+
protocol module. This
is
the
default.
+
Some clients might have
problems
+
with
keep-alive
.
-
+
.B--without-keep-aliveB.: Disable keep alive in the HTTP
+
protocol module. Some clients might have
+
problems with keep-alive.
+
.B--onceB.: Run the server only once, in the foreground. This is very useful when debugging.