search for: a3ab39b

Displaying 3 results from an estimated 3 matches for "a3ab39b".

Did you mean: 13cb39b
2019 Sep 12
0
[PATCH libnbd 2/2] interop: Retry TCP connections to qemu-nbd.
...exponential backoff. I tested this with a simple wrapper around qemu-nbd which did: sleep 5; exec /usr/bin/qemu-nbd "$@" --- interop/interop.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/interop/interop.c b/interop/interop.c index 662d871..a3ab39b 100644 --- a/interop/interop.c +++ b/interop/interop.c @@ -28,6 +28,7 @@ #include <fcntl.h> #include <time.h> #include <signal.h> +#include <errno.h> #include <sys/types.h> #include <libnbd.h> @@ -44,6 +45,7 @@ main (int argc, char *argv[]) int port;...
2019 Sep 12
2
[PATCH libnbd 1/2] nbd_connect_tcp: Try to return errno from underlying connect(2) call.
When we make a TCP connection we have to make multiple underlying connect(2) calls, once for each address returned by getaddrinfo. Unfortunately this meant that we lost the errno from any of these calls: $ nbdsh -c 'h.connect_tcp ("localhost", "nbd")' nbd.Error: nbd_connect_tcp: connect: localhost:nbd: could not connect to remote host This commit saves the errno from
2019 Sep 17
7
[PATCH libnbd 0/5] interop: Check that LIBNBD_TLS_ALLOW works against nbdkit.
I was a little surprised to find that LIBNBD_TLS_ALLOW worked out of the box, so I had to examine the logs whereupon I saw the magic message ... libnbd: debug: nbd1: nbd_connect_command: server refused TLS (policy), continuing with unencrypted connection I don't believe this path has ever been tested before. It's possible the tests could be improved if they actually checked for this