From 366c8a1d3f1de3535a5c0c2a770b65d9387ae132 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sun, 10 Mar 2013 13:40:37 +0100 Subject: econproxy: Accept keepalive white waiting for cmd22 --- econproxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/econproxy.c b/econproxy.c index e89b0f9..33676d5 100644 --- a/econproxy.c +++ b/econproxy.c @@ -307,6 +307,8 @@ ep_read_ack(struct ep *ep) fprintf(stderr, "connection failed: probably incorrect version?\n"); return -1; + case E_CMD_KEEPALIVE: + return ep_read_ack(ep); default: fprintf(stderr, "unexpected cmd: %d while waiting for socket ack.\n", -- cgit