--- loncom/lonhttpd 2002/10/30 15:32:33 1.4 +++ loncom/lonhttpd 2002/11/06 22:38:42 1.5 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: lonhttpd,v 1.4 2002/10/30 15:32:33 www Exp $ +# $Id: lonhttpd,v 1.5 2002/11/06 22:38:42 albertel Exp $ $VERSION = "1.3.2 (Demonic/Linux/LON-CAPA Derivative)"; @@ -183,13 +183,13 @@ open (PIDSAVE,">$pidfile"); print PIDSAVE "$$\n"; close(PIDSAVE); -$0 = "dhttpi: binding port ..."; +$0 = "lonhttpd: (dhttpi) binding port ..."; $bindthis = pack($sockaddr, 2, 8080, pack('l', chr(0).chr(0).chr(0).chr(0))); socket(S, 2, 1, 6); setsockopt(S, 1, 2, 1); bind(S, $bindthis) || die("$0: while binding port 8080:\n\"$!\"\n"); listen(S, 128); -$0 = "dhttpi: connected and waiting ANY:8080"; +$0 = "lonhttpd: (dhttpi) connected and waiting ANY:8080"; $statiosuptime = time(); @@ -267,7 +267,7 @@ $SIG{'__DIE__'} = \&dead; $SIG{'ALRM'} = $SIG{'TERM'} = $SIG{'INT'} = \&bye; sub master { - $0 = "dhttpi: handling request"; + $0 = "lonhttpd: (dhttpi) handling request"; # $sock = getpeername(STDIN); $rfcdate = scalar gmtime; ($dow, $mon, $dt, $tm, $yr) = ($rfcdate =~ @@ -426,11 +426,11 @@ EOF
$VERSION
)$VERSION
)