Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jun 23, 2024
1 parent 46fb650 commit 52b60df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lib/http2.ml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ module HTTP : Http_intf.HTTP2 with type scheme = Scheme.http = struct
let { Httpun.Request.headers; meth; target; _ } = http_request in
H2.Client_connection.create_h2c
~config:(Config.to_http2_config config)
~headers ~meth ~target
~headers
~meth
~target
~error_handler:(make_client_error_handler error_handler `Connection)
(response_handler, response_error_handler)
in
Expand Down
4 changes: 1 addition & 3 deletions lib_test/helper_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ module H2c = struct
-> (H2.Server_connection.t, string) result
=
fun client_addr http_request request_body ->
let { Httpun.Request.headers; meth; target; _ } = http_request in
let { Httpun.Request.headers; meth; target; _ } = http_request in
H2.Server_connection.create_h2c
?config:None
~headers
Expand Down Expand Up @@ -261,5 +261,3 @@ module H2c = struct

let teardown = Server.Command.shutdown
end


0 comments on commit 52b60df

Please sign in to comment.