Changeset 545 for trunk/daemon/orbited/cometsession.py

Show
Ignore:
Timestamp:
09/20/08 15:44:51 (4 months ago)
Author:
rgl
Message:

Merge the 0.7 branch into trunk.

For now on, trunk will contain the bleeding-edge version of Orbited.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/daemon/orbited/cometsession.py

    r536 r545  
    320320        if not self.open: 
    321321            self.open = True 
    322             self.packetId += 1 
    323322            self.cometTransport.sendPacket("open", self.packetId) 
    324323        self.cometTransport.flush() 
     
    373372        if ackId <= self.lastAckId: 
    374373            return 
    375         for i in range(ackId - self.lastAckId - 1): # -1 as the OPEN packet need not be ack'ed 
     374        for i in range(ackId - self.lastAckId): 
    376375            self.unackQueue.pop(0) 
    377376        self.lastAckId = ackId