/[meteor]/googlecode.com/svn/trunk/Meteor/Subscriber.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/Subscriber.pm

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

revision 37 by knops.gerd, Fri Feb 1 21:22:03 2008 UTC revision 39 by andrew.betts, Sat Feb 2 16:49:20 2008 UTC
# Line 90  sub pingPersistentConnections { Line 90  sub pingPersistentConnections {
90          my $msg=$::CONF{'PingMessage'};          my $msg=$::CONF{'PingMessage'};
91          my @cons=values %PersistentConnections;          my @cons=values %PersistentConnections;
92                    
93          map { $_->write($msg.chr(0)) } @cons;          map { $_->write($msg) } @cons;
94  }  }
95    
96  sub checkPersistentConnectionsForMaxTime {  sub checkPersistentConnectionsForMaxTime {
# Line 273  sub emitHeader { Line 273  sub emitHeader {
273                  }                  }
274          /gex;          /gex;
275                    
276          $self->write($header.chr(0));          $self->write($header);
277  }  }
278    
279  sub sendMessage {  sub sendMessage {
# Line 283  sub sendMessage { Line 283  sub sendMessage {
283                    
284          $numMsgInThisBatch=1 unless(defined($numMsgInThisBatch));          $numMsgInThisBatch=1 unless(defined($numMsgInThisBatch));
285                    
286          $self->write($msg.chr(0));          $self->write($msg);
287                    
288          $::Statistics->{'messages_served'}+=$numMsgInThisBatch;          $::Statistics->{'messages_served'}+=$numMsgInThisBatch;
289                    

Legend:
Removed from v.37  
changed lines
  Added in v.39

  ViewVC Help
Powered by ViewVC 1.1.26