Merge pull request #30 from bobzomer/master
Increase reception buffer size
This commit is contained in:
commit
89d51737a9
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