From 93e8744e220a88e479a7891c49f2ed304a7c675f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 7 May 2018 15:33:11 +0200 Subject: Move cowboy_iolists to Cowlib as cow_iolists Depend on Cowlib master for the moment. --- src/cowboy_http2.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cowboy_http2.erl') diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl index 420be2c..dfda305 100644 --- a/src/cowboy_http2.erl +++ b/src/cowboy_http2.erl @@ -907,7 +907,7 @@ send_data(State=#state{socket=Socket, transport=Transport, opts=Opts, {State#state{local_window=ConnWindow - IolistSize}, Stream#stream{local=IsFin, local_window=StreamWindow - IolistSize}}; true -> - {Iolist, More} = cowboy_iolists:split(MaxSendSize, Iolist0), + {Iolist, More} = cow_iolists:split(MaxSendSize, Iolist0), Transport:send(Socket, cow_http2:data(StreamID, nofin, Iolist)), send_data(State#state{local_window=ConnWindow - MaxSendSize}, Stream#stream{local_window=StreamWindow - MaxSendSize}, -- cgit v1.2.3