Skip to content

Commit

Permalink
Merge pull request #18 from roburio/h2-0-10-0
Browse files Browse the repository at this point in the history
adjust to h2 0.10.0 API change
  • Loading branch information
hannesm authored Mar 20, 2023
2 parents 15e0de3 + de4636f commit cb65df7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http-lwt-client.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ depends: [
"fmt"
"bos"
"happy-eyeballs-lwt"
"h2" {>= "0.9.0"}
"h2" {>= "0.10.0"}
]
conflicts: [ "result" {< "1.5"} ]
build: [
Expand Down
2 changes: 1 addition & 1 deletion src/http_lwt_client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ let single_h2_request ?config fd scheme user_pass host meth path headers body f
wakeup err
in
let connection =
H2.Client_connection.create ?config ?push_handler:None ~error_handler
H2.Client_connection.create ?config ?push_handler:None ~error_handler ()
in
let request_body =
H2.Client_connection.request connection req ~error_handler ~response_handler
Expand Down

0 comments on commit cb65df7

Please sign in to comment.