fix(gateway): Do not end http request if the request has been canceled
Closes gravitee-io/issues#2431
@@ -145,6 +145,8 @@ class VertxProxyConnection implements ProxyConnection {
this.writeHeaders();
}
+ if (! canceled) {
httpClientRequest.end();
}
}
+}
