Changeset View
Changeset View
Standalone View
Standalone View
saslauthd/__init__.py
Context not available. | |||||
if success: | if success: | ||||
# #1170: Catch broken pipe error (incomplete authentication request) | # #1170: Catch broken pipe error (incomplete authentication request) | ||||
try: | try: | ||||
clientsocket.send(struct.pack("!H2s", 2, "OK")) | clientsocket.send(struct.pack("!H2s", 2, b"OK")) | ||||
except: | except: | ||||
pass | pass | ||||
else: | else: | ||||
# #1170: Catch broken pipe error (incomplete authentication request) | # #1170: Catch broken pipe error (incomplete authentication request) | ||||
try: | try: | ||||
clientsocket.send(struct.pack("!H2s", 2, "NO")) | clientsocket.send(struct.pack("!H2s", 2, b"NO")) | ||||
except: | except: | ||||
pass | pass | ||||
Context not available. |