diff options
author | Peter Ballard <peter.ballard@isode.com> | 2015-07-07 12:33:47 (GMT) |
---|---|---|
committer | Peter Ballard <peter.ballard@isode.com> | 2015-07-08 08:57:05 (GMT) |
commit | 1afab8c1f2c417b08371bc12569e03171851d785 (patch) | |
tree | 81b137f46f782a211f867b60db6f18535fdee26e /test/com | |
parent | cc8fc8685df570e5ab7cb0620f9f5836bd44ef7a (diff) | |
download | stroke-1afab8c1f2c417b08371bc12569e03171851d785.zip stroke-1afab8c1f2c417b08371bc12569e03171851d785.tar.bz2 |
Add option to only read from TCP socket when previous read has been processed
By default this option is disabled, existing usages will function as normal.
This option stops the JavaConnection from reading data if the previous read
has not been processed by the event loop. Previously constrained devices were
seeing OutOfMemoryErrors, if they were not able to process the incoming data
quick enough.
This change does not affect the write behavour.
Change-Id: I47bc0eafba32336f5bf250ccb1fea530f51d328e
Diffstat (limited to 'test/com')
0 files changed, 0 insertions, 0 deletions