Skip to content

Commit 2cfc39f

Browse files
committed
Fix UDP channel expiration.
1 parent 29819ea commit 2cfc39f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ def udp_open(channel, data):
328328
debug3('expiring dnsreqs channel=%d\n' % channel)
329329
del dnshandlers[channel]
330330
h.ok = False
331+
if udphandlers:
331332
for channel, h in udphandlers.items():
332333
if not h.ok:
333334
debug3('expiring UDP channel=%d\n' % channel)

0 commit comments

Comments
 (0)