From c9283ebd696ed6dd428a7c3d24820889f7ab4bf3 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Sat, 12 Mar 2022 14:59:38 +0100 Subject: [PATCH] initial data like that makes no sense --- connection.capnp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/connection.capnp b/connection.capnp index 6ed2562..bdc3e2f 100644 --- a/connection.capnp +++ b/connection.capnp @@ -34,11 +34,9 @@ interface Bootstrap mechanisms @2 () -> ( mechs: List(Text) ); # Get a list of Mechanisms this server allows in this context. - createSession @3 ( mechanism :Text, initialData :Data ) -> ( authentication :Authentication); + createSession @3 ( mechanism :Text ) -> ( authentication :Authentication ); # Create a new session with the server that you wish to authenticate using `mechanism`. - # If the mechanism is a client-first mechanism you MAY set `initialData` to contain the data you - # want to send. If the mechanism is server-first or you do not wish to send initial data, make - # initialData a NULL-pointer. + # Using pipelining makes this one-roundtrip capable without explicit initial data support. } struct Session {