diff options
author | Loïc Hoguin <[email protected]> | 2018-05-07 15:33:11 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-07 15:33:11 +0200 |
commit | 93e8744e220a88e479a7891c49f2ed304a7c675f (patch) | |
tree | 6647953bfa75d328ae216d9907ab8da39420fdc3 /src/cowboy_http2.erl | |
parent | 859137e3b0df5f0a101eac32ca1a8c629ee510f9 (diff) | |
download | cowboy-93e8744e220a88e479a7891c49f2ed304a7c675f.tar.gz cowboy-93e8744e220a88e479a7891c49f2ed304a7c675f.tar.bz2 cowboy-93e8744e220a88e479a7891c49f2ed304a7c675f.zip |
Move cowboy_iolists to Cowlib as cow_iolists
Depend on Cowlib master for the moment.
Diffstat (limited to 'src/cowboy_http2.erl')
-rw-r--r-- | src/cowboy_http2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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}, |