Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9P2000 message definitions, and protocol implementations #41

Closed
wants to merge 3 commits into from

Commits on Jul 28, 2020

  1. p9: split session struct out of connState

    Signed-off-by: Chris Koch <[email protected]>
    hugelgupf committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    49566cd View commit details
    Browse the repository at this point in the history
  2. p9: introduce sessions

    This is a pre-cursor to supporting 9P2000, where some messages may
    overlap. Sessions should allow us to change the version & message
    registry.
    
    9P2000 spec / Plan 9 man page for version(5):
    
    "If the server does not understand the client's version string, it
    should respond with an Rversion message (not Rerror) with the version
    string the 7 characters "unknown"."
    
    "A successful version request initializes the connection. All
    outstanding I/O on the connection is aborted; all active fids are freed
    (clunked) automatically. The set of messages between version requests
    is called a session."
    
    Signed-off-by: Chris Koch <[email protected]>
    hugelgupf committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    d90cc5a View commit details
    Browse the repository at this point in the history
  3. 9P2000 support

    Signed-off-by: Chris Koch <[email protected]>
    hugelgupf committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    6154b54 View commit details
    Browse the repository at this point in the history