Tree
- Tree:
dfc05c0d33259e36ed9cd111a1d85120e98c99f0
- Date:
- Message:
- fossil: fix EOF detection when reading 9P message When the 9P connection is closed, reads on the connection will keep returning 0. So, fossil ends up looping forever, trying to read a 9P message, consuming 100% CPU. The fix interprets 0 bytes read as EOF. Reproduce by killing the 9pserve process serving the fossil service, or by listening on tcp and using 9p(1).
README
This software was packaged for Unix by Russ Cox. Please send comments to rsc@swtch.com. https://9fans.github.io/plan9port/unix