Displaying 3 results from an estimated 3 matches for "4efc668b".
2019 Sep 28
0
[nbdkit PATCH v2 7/7] server: Better newstyle .open failure handling
...an ACK
-       * or ERROR packet.
+       * or ERROR packet.  If this was NBD_OPT_LIST, call .close.
        */
       if (send_newstyle_option_reply (conn, option, NBD_REP_ACK) == -1)
         return -1;
diff --git a/server/protocol-handshake-oldstyle.c b/server/protocol-handshake-oldstyle.c
index 4efc668b..45a1a486 100644
--- a/server/protocol-handshake-oldstyle.c
+++ b/server/protocol-handshake-oldstyle.c
@@ -52,6 +52,9 @@ protocol_handshake_oldstyle (struct connection *conn)
   assert (tls != 2); /* Already filtered in main */
+  /* With oldstyle, our only option if .open or friends fail is to
+...
2019 Sep 25
3
[nbdkit PATCH 0/2] more protocol.h tweaks
More nbd-protocol.h improvements
Eric Blake (2):
  common/protocol: Switch nbdmagic to uint64_t
  common/protocol: Declare additional constants
 common/protocol/nbd-protocol.h       | 16 ++++++++++------
 server/protocol-handshake-newstyle.c |  2 +-
 server/protocol-handshake-oldstyle.c |  2 +-
 plugins/nbd/nbd-standalone.c         |  2 +-
 tests/test-layers.c                  |  2 +-
 5 files
2019 Sep 28
11
[nbdkit PATCH v2 0/7] Spec compliance patches
Since the v1 series (0/4, at [1]), I've applied patches 1 and 2,
rewritten patch 3 [Forbid NUL in export and context names] into patch
4 here, patch 4 there turned into patch 6 here, and everything else
here is new.
[1]https://www.redhat.com/archives/libguestfs/2019-September/msg00180.html
I don't know if there is a handy reusable function for checking
whether a string contains valid