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():
|
while not self.stopped.isSet():
|
||||||
self._socket.settimeout(0.1)
|
self._socket.settimeout(0.1)
|
||||||
try:
|
try:
|
||||||
datagram, addr = self._socket.recvfrom(1152)
|
datagram, addr = self._socket.recvfrom(1500)
|
||||||
except socket.timeout: # pragma: no cover
|
except socket.timeout: # pragma: no cover
|
||||||
continue
|
continue
|
||||||
except Exception as e: # pragma: no cover
|
except Exception as e: # pragma: no cover
|
||||||
|
|
Loading…
Reference in a new issue