You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
529 B
12 lines
529 B
--- jabberpy-0.5-0/jabber/xmlstream.py
|
|
+++ jabberpy-0.5-0/jabber/xmlstream.py
|
|
@@ -522,7 +522,7 @@ class Client(Stream):
|
|
connector.append('\r\n')
|
|
bak = self._read , self._write
|
|
self.write('\r\n'.join(connector))
|
|
- reply = self.read().replace('\r','')
|
|
+ reply = self._read(BLOCK_SIZE).replace('\r','')
|
|
self._read , self._write = bak
|
|
try: proto,code,desc=reply.split('\n')[0].split(' ',2)
|
|
except: raise error('Invalid proxy reply')
|