Commits
- Commit:
7d20322689f2c839df114432c36ff372554d6a80
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: cleanup type declarations
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
f9cc2426473a2b5619049eacdbee5fdf19c81344
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: bring back type safety for message types
Type safety for messages was removed to allowing message types to be anything.
In particular, this was useful for error types. This introduced a few nasty
bugs that wasn't worth the convenience of automatically packing errors over a
server channel.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
deb98ab43c4d46aadb8214e05c8178b2eceb1fae
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: various client and server cleanup
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
269e4d4b21f59c17f781c377325982e8cd369857
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: cleanup encoding/decoding
We take some time to cleanup the codec implementation. The need for the message
to implement the Message interface has been removed to allow flexibility in
what can land in the message field. Error types can be returned directly now.
The messages have been moved into a separate file. We also ensure that the
number of pointer types is reduced in deserialized messages, hopefully avoiding
unnecessary pointer traversal.
Signed-off-by: Stephen J Day <stephen.day@docker.com>