Mercurial > louis > mq > lightsd
changeset 413:9067c2da9572
better commit message
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Fri, 01 Jan 2016 13:24:12 +0100 |
parents | 65b0dc335243 |
children | 2d7ab98d6266 |
files | fix_lightscpy_readloop.patch |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/fix_lightscpy_readloop.patch Fri Jan 01 13:15:41 2016 +0100 +++ b/fix_lightscpy_readloop.patch Fri Jan 01 13:24:12 2016 +0100 @@ -1,6 +1,8 @@ # HG changeset patch # Parent c8614ad2dc1133c8d50e974afd66d84231b41c78 -FIx lightsc.py's read loop +Fix lightsc.py's read loop + +It now handles arbitrarily large and partial responses properly. We do need to do non-blocking IO in case the last received buffer comes back full in this case doing another read would block the whole thing.