Closed tony612 closed 4 years ago
@essen Could you review this? I have another PR to verify the changes https://github.com/ninenines/cowboy/pull/1432 (Not sure why the tests on arch failed)
Patch is fine I'll try to take a look today but I've been sick so let's hope for the best.
Merged, thanks!
Fixes https://github.com/ninenines/cowlib/issues/92. I think this is more reasonable than
if (element(1, DataOrFileOrTrailers) =/= trailers) andalso (StreamWindow < MinSendSize) andalso ...
Test case is at https://github.com/ninenines/cowboy/pull/1428