ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/myhttpd/httpd.pl
(Generate patch)

Comparing Coro/myhttpd/httpd.pl (file contents):
Revision 1.92 by root, Tue Mar 9 16:46:23 2010 UTC vs.
Revision 1.93 by root, Sun Mar 21 00:21:14 2010 UTC

57 57
58 $format = sprintf $format, @_ if @_; 58 $format = sprintf $format, @_ if @_;
59 59
60 my $NOW = (POSIX::strftime "%Y-%m-%d %H:%M:%S", gmtime $::NOW); 60 my $NOW = (POSIX::strftime "%Y-%m-%d %H:%M:%S", gmtime $::NOW);
61 print "$NOW: $format\n"; 61 print "$NOW: $format\n";
62 printf $errorlog "$NOW: $format\n", @_ if $errorlog; 62 print $errorlog "$NOW: $format\n", @_ if $errorlog;
63} 63}
64 64
65our $connections = new Coro::Semaphore $::MAX_CONNECTS || 250; 65our $connections = new Coro::Semaphore $::MAX_CONNECTS || 250;
66our $httpevent = new Coro::Signal; 66our $httpevent = new Coro::Signal;
67 67

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines