mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
Disable zipping first yielded chunk, which may produce incorrect content
This commit is contained in:
parent
9020b071ac
commit
c3d9bf6213
1 changed files with 1 additions and 0 deletions
|
@ -2442,6 +2442,7 @@ static int LuaCallWithYield(lua_State *L) {
|
|||
YL = co;
|
||||
generator = YieldGenerator;
|
||||
if (!isyielding) isyielding = 1;
|
||||
istext = false; // reset istext flag to avoid zipping yielded chunk
|
||||
status = LUA_OK;
|
||||
}
|
||||
return status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue