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.81 by root, Sat Dec 2 03:29:29 2006 UTC vs.
Revision 1.82 by root, Sat Dec 2 03:31:42 2006 UTC

188 188
189 $self->{time} = $::NOW; 189 $self->{time} = $::NOW;
190 190
191 weaken ($Coro::current->{conn} = $self); 191 weaken ($Coro::current->{conn} = $self);
192 192
193 $::conns++; 193 ++$::conns;
194 $::maxconns = $::conns if $::conns > $::maxconns; 194 $::maxconns = $::conns if $::conns > $::maxconns;
195 195
196 $self 196 $self
197} 197}
198 198
199sub DESTROY { 199sub DESTROY {
200 #my $self = shift; 200 my $self = shift;
201
201 close $self->{fh}; # workaround 202 close $self->{fh}; # workaround
202 --$::conns; 203 --$::conns;
203} 204}
204 205
205sub prune_cache { 206sub prune_cache {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines