Changeset 5588f7c4


Ignore:
Timestamp:
2008-05-19T13:25:49Z (17 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
d0a6a8c
Parents:
bd85ec5
Message:

don't die on failed handshake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    rbd85ec5 r5588f7c4  
    9999        options.conn, addr = sock.accept()
    100100        if hasattr(options.conn, 'handshake'):
    101                 options.conn.handshake()
     101                try:
     102                        options.conn.handshake()
     103                except Exception:
     104                        dprint("Warning, handshake failed, closing connection.")
     105                        return False
    102106        ret = 0
    103107        line = options.conn.recv(1024)
Note: See TracChangeset for help on using the changeset viewer.