Please sign in to comment.
Signal EOF correctly
The plan9 manual does not explicitly state how a server should tell a client that it has reached end-of-file. From observing many existing clients, I have determined that a client decides that end-of-file is reached when - A read returns less data than what was asked for (`9pfuse`) - A read returns 0 bytes (`9p`, `ixpc`, v9fs) These two conditions are compatible, and are implemented with this commit.
- Loading branch information...