Increase reception buffer size
This commit is contained in:
parent
985763bfe2
commit
c63634ec76
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class CoAP(object):
|
|||
while not self.stopped.isSet():
|
||||
self._socket.settimeout(0.1)
|
||||
try:
|
||||
datagram, addr = self._socket.recvfrom(1152)
|
||||
datagram, addr = self._socket.recvfrom(1500)
|
||||
except socket.timeout: # pragma: no cover
|
||||
continue
|
||||
except Exception as e: # pragma: no cover
|
||||
|
|
Loading…
Reference in a new issue