From cca120f02ee673484870415dbca26d21d0457789 Mon Sep 17 00:00:00 2001 From: AlmogBaku Date: Sun, 13 Aug 2017 14:29:57 +0300 Subject: [PATCH] fix null fail of chained proxy --- .../org/littleshoot/proxy/impl/ProxyToServerConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/littleshoot/proxy/impl/ProxyToServerConnection.java b/src/main/java/org/littleshoot/proxy/impl/ProxyToServerConnection.java index 2c9cece42..52311e8ea 100644 --- a/src/main/java/org/littleshoot/proxy/impl/ProxyToServerConnection.java +++ b/src/main/java/org/littleshoot/proxy/impl/ProxyToServerConnection.java @@ -690,7 +690,7 @@ void read(ConnectionFlow flow, Object msg) { if (connectOk) { flow.advance(); } else { - flow.fail(); + flow.fail(new Error(msg.toString())); } } };