Current section
2 Versions
Jump to
Current section
2 Versions
Compare versions
3
files changed
+5
additions
-5
deletions
| @@ -19,4 +19,4 @@ | |
| 19 19 | {<<"Original GitHub">>,<<"https://github.com/ninenines/cowlib">>}]}. |
| 20 20 | {<<"name">>,<<"grpc_cowlib">>}. |
| 21 21 | {<<"requirements">>,[]}. |
| 22 | - {<<"version">>,<<"2.8.0">>}. |
| 22 | + {<<"version">>,<<"2.8.1">>}. |
| @@ -1184,9 +1184,9 @@ send_or_queue_data(StreamID, State0=#http2_machine{opts=Opts, local_window=ConnW | |
| 1184 1184 | _ -> |
| 1185 1185 | DataOrFileOrTrailers0 |
| 1186 1186 | end, |
| 1187 | - SendSize = BufferSize + case DataOrFileOrTrailers of |
| 1188 | - {data, D} -> iolist_size(D); |
| 1189 | - #sendfile{bytes=B} -> B; |
| 1187 | + SendSize = case DataOrFileOrTrailers of |
| 1188 | + {data, D} -> BufferSize + iolist_size(D); |
| 1189 | + #sendfile{bytes=B} -> BufferSize + B; |
| 1190 1190 | {trailers, _} -> 0 |
| 1191 1191 | end, |
| 1192 1192 | MinSendSize = maps:get(stream_window_data_threshold, Opts, 16384), |
| @@ -1,11 +1,11 @@ | |
| 1 1 | {application,cowlib, |
| 2 2 | [{pkg_name,grpc_cowlib}, |
| 3 | + {vsn,"2.8.1"}, |
| 3 4 | {description,"gRPC forked cowlib: Support library for manipulating Web protocols."}, |
| 4 5 | {links,[{"GitHub","https://github.com/elixir-grpc/cowlib"}, |
| 5 6 | {"Original GitHub", |
| 6 7 | "https://github.com/ninenines/cowlib"}]}, |
| 7 8 | {licenses,["ISC"]}, |
| 8 | - {vsn,"2.8.0"}, |
| 9 9 | {modules,[cow_base64url,cow_cookie,cow_date,cow_hpack,cow_http, |
| 10 10 | cow_http2,cow_http2_machine,cow_http_hd,cow_http_te, |
| 11 11 | cow_iolists,cow_mimetypes,cow_multipart,cow_qs, |