sent node emulation updates via handler sendall method, instead of directly via handler.request.sendall.

This commit is contained in:
Rod A Santiago 2016-08-01 16:07:40 -07:00
parent 39fc11c8fd
commit 2bf3594cd1

View file

@ -761,7 +761,8 @@ class Session(object):
| coreapi.CORE_API_LOC_FLAG,
tlvdata)
try:
handler.request.sendall(reply)
#Use the handler's sendall (Is this ok with CoreDatagramRequestHandler??)
handler.sendall(reply)
except Exception, e:
self.warn("sendall() for node: %d error: %s" % (nodenum, e))
del handler.nodestatusreq[nodenum]