Skip to content

Commit fc4d81c

Browse files
committed
Additional comment, see AsyncHttpClient#1124
1 parent 95ff7f1 commit fc4d81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/org/asynchttpclient/netty/request/NettyRequestFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ else if (proxyServer != null && !uri.isSecured())
217217
return uri.toUrl();
218218

219219
else {
220-
// direct connection to target host: only path and query
220+
// direct connection to target host or tunnel already connected: only path and query
221221
String path = getNonEmptyPath(uri);
222222
if (isNonEmpty(uri.getQuery()))
223223
return path + "?" + uri.getQuery();

0 commit comments

Comments
 (0)