sent node emulation updates via handler sendall method, instead of directly via handler.request.sendall.
This commit is contained in:
parent
39fc11c8fd
commit
2bf3594cd1
1 changed files with 2 additions and 1 deletions
|
@ -761,7 +761,8 @@ class Session(object):
|
||||||
| coreapi.CORE_API_LOC_FLAG,
|
| coreapi.CORE_API_LOC_FLAG,
|
||||||
tlvdata)
|
tlvdata)
|
||||||
try:
|
try:
|
||||||
handler.request.sendall(reply)
|
#Use the handler's sendall (Is this ok with CoreDatagramRequestHandler??)
|
||||||
|
handler.sendall(reply)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
self.warn("sendall() for node: %d error: %s" % (nodenum, e))
|
self.warn("sendall() for node: %d error: %s" % (nodenum, e))
|
||||||
del handler.nodestatusreq[nodenum]
|
del handler.nodestatusreq[nodenum]
|
||||||
|
|
Loading…
Reference in a new issue