File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module H1_Client_connection = struct
1414 let next_write_operation t =
1515 (next_write_operation t
1616 :> [ `Close of int
17- | `Write of Bigstringaf . t Faraday. iovec list
17+ | `Write of Bstr . t Faraday. iovec list
1818 | `Yield
1919 | `Upgrade ])
2020end
@@ -28,7 +28,7 @@ module H2_Client_connection = struct
2828 let next_write_operation t =
2929 (next_write_operation t
3030 :> [ `Close of int
31- | `Write of Bigstringaf . t Faraday. iovec list
31+ | `Write of Bstr . t Faraday. iovec list
3232 | `Yield
3333 | `Upgrade ])
3434end
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ module Websocket_connection = struct
401401
402402 let next_write_operation t =
403403 (next_write_operation t
404- :> [ `Write of Bigstringaf . t Faraday. iovec list
404+ :> [ `Write of Bstr . t Faraday. iovec list
405405 | `Close of int
406406 | `Yield
407407 | `Upgrade ])
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ let fold_http_1_1 ~finally ~f acc body =
242242 let acc = ref acc in
243243 let rec on_eof () = Body.Reader. close body; finally ! acc
244244 and on_read bstr ~off ~len =
245- let str = Bigstringaf. substring bstr ~off ~len in
245+ let str = Bstr. sub_string bstr ~off ~len in
246246 Logs. debug (fun m -> m " Feed the context" );
247247 acc := f ! acc str;
248248 Body.Reader. schedule_read body ~on_eof ~on_read
@@ -254,7 +254,7 @@ let fold_h2 ~finally ~f acc body =
254254 let acc = ref acc in
255255 let rec on_eof () = Body.Reader. close body; finally ! acc
256256 and on_read bstr ~off ~len =
257- let str = Bigstringaf. substring bstr ~off ~len in
257+ let str = Bstr. sub_string bstr ~off ~len in
258258 Logs. debug (fun m -> m " Feed the context" );
259259 acc := f ! acc str;
260260 Body.Reader. schedule_read body ~on_eof ~on_read
You can’t perform that action at this time.
0 commit comments