/[meteor]/googlecode.com/svn/trunk/Meteor/Connection.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /googlecode.com/svn/trunk/Meteor/Connection.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 63 by andrew.betts, Thu Nov 27 00:33:21 2008 UTC revision 64 by andrew.betts, Mon Jan 19 11:19:41 2009 UTC
# Line 146  sub describeConnWithFileNum { Line 146  sub describeConnWithFileNum {
146    
147  sub destroyBadRequests {  sub destroyBadRequests {
148          foreach my $conn (@Connections) {          foreach my $conn (@Connections) {
149                  if (time-$conn->{'connectionStart'} > 30 && !exists($conn->{'subscriberID'}) && $conn->{'type'} eq 'Meteor::Subscriber') {                  if (time-$conn->{'connectionStart'} > 30 && !$conn->{'autoClose'} && !exists($conn->{'subscriberID'}) && $conn->{'type'} eq 'Meteor::Subscriber') {
150                          &::syslog('debug',"Closing misbehaving subscriber %s",$conn->{'socketFN'});                          &::syslog('debug',"Closing misbehaving subscriber %s",$conn->{'socketFN'});
151                          $conn->close();                          $conn->close();
152                  }                  }

Legend:
Removed from v.63  
changed lines
  Added in v.64

  ViewVC Help
Powered by ViewVC 1.1.26