Skip to content

Commit 5006055

Browse files
committed
Allow client proxying of HTTP/2, too
Turns out this worked perfectly fine already.
1 parent 0628cbc commit 5006055

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/aleph/http/http2.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,17 +1251,13 @@
12511251
[{:keys [^ChannelPipeline pipeline
12521252
handler
12531253
server?
1254-
proxy-options
12551254
logger
12561255
http2-stream-pipeline-transform
12571256
max-request-body-size
12581257
compression?
12591258
compression-options]}]
12601259
(log/trace "setup-stream-pipeline called")
12611260

1262-
(when (some? proxy-options)
1263-
(throw (IllegalArgumentException. "Proxying HTTP/2 messages not supported yet")))
1264-
12651261
(cond-> pipeline
12661262

12671263
;; necessary for multipart support in HTTP/2?

0 commit comments

Comments
 (0)