summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-10 13:40:37 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-10 13:40:37 +0100
commit366c8a1d3f1de3535a5c0c2a770b65d9387ae132 (patch)
tree26dd4e1173c223726b0d5629a1eeff4c79c9d9ce
parent6c1d2c84a380c4ddfee1032efb287e9ef7a5af75 (diff)
downloadecon-366c8a1d3f1de3535a5c0c2a770b65d9387ae132.tar.gz
econ-366c8a1d3f1de3535a5c0c2a770b65d9387ae132.tar.bz2
econ-366c8a1d3f1de3535a5c0c2a770b65d9387ae132.zip
econproxy: Accept keepalive white waiting for cmd22
-rw-r--r--econproxy.c2
1 files changed, 2 insertions, 0 deletions
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",