Skip to content

Commit 472b2ea

Browse files
committed
Add proxy handlers via addLast to reduce mental overhead
1 parent 9800418 commit 472b2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/http/client.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
[^ChannelPipeline p proxy-connected proxy-options ssl?]
413413
(if (some? proxy-options)
414414
(let [proxy (proxy-handler (assoc proxy-options :ssl? ssl?))]
415-
(.addFirst p "proxy" ^ChannelHandler proxy)
415+
(.addLast p "proxy" ^ChannelHandler proxy)
416416
;; well, we need to wait before the proxy responded with
417417
;; HTTP/1.1 200 Connection established
418418
;; before sending any requests

0 commit comments

Comments
 (0)