Show
Ignore:
Timestamp:
11/02/07 23:15:23 (13 months ago)
Author:
asterix
Message:

process all incoming and outgoing queues even if we receive big things (a file). Fixes #3380

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.2/src/common/xmpp/idlequeue.py

    r7415 r8933  
    207207                                raise 
    208208                for fd in waiting_descriptors[0]: 
    209                         self.queue.get(fd).pollin() 
    210                         self.check_time_events() 
    211                         return True 
     209                        q = self.queue.get(fd) 
     210                        if q: 
     211                                q.pollin() 
    212212                for fd in waiting_descriptors[1]: 
    213                         self.queue.get(fd).pollout() 
    214                         self.check_time_events() 
    215                         return True 
     213                        q = self.queue.get(fd) 
     214                        if q: 
     215                                q.pollout() 
    216216                for fd in waiting_descriptors[2]: 
    217217                        self.queue.get(fd).pollend()