… | … | ||
---|---|---|---|
156 | $self->{time} = $::NOW; | 156 | $self->{time} = $::NOW; |
157 | 157 | ||
158 | weaken ($Coro::current->{conn} = $self); | 158 | weaken ($Coro::current->{conn} = $self); |
159 | 159 | ||
160 | $::conns++; | 160 | $::conns++; |
161 | $::maxconns = $::conns if $::conns > $::maxconns; | ||
161 | 162 | ||
162 | $self; | 163 | $self; |
163 | } | 164 | } |
164 | 165 | ||
165 | sub DESTROY { | 166 | sub DESTROY { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |