diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-03 17:33:09 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-03 17:33:09 +0100 |
commit | b4a0b79cacefdb58d556aec8ee75d6f1f7a0be49 (patch) | |
tree | 5cdf6dfafcb6ad90e64b5ad2f4f44b0ef7178ead /src/local/select.nim | |
parent | 6776f4dba975137f4034b1295c0f1958b752a2cb (diff) | |
download | chawan-b4a0b79cacefdb58d556aec8ee75d6f1f7a0be49.tar.gz |
buffer: improve/fix onload return values
Only report when bytesRead has changed, otherwise we get unnecessary load requests. (This means -2 return value no longer exists; it did not work correctly anyway.) Also, fix the race condition that broke onload returns when onload happened before client requested load.
Diffstat (limited to 'src/local/select.nim')
0 files changed, 0 insertions, 0 deletions