On Linux when compiled with -d:danger --passC:-flto running the following example code will crash with Error uncompressing response [PuppyError]:
import puppy
for i in 1..1:
let resp = fetch("http://neverssl.com")
Removing the for loop avoids the issue, as does not using either -d:danger or --passC:-flto.
For some reason bodyWrap does not get set properly at line 76 in src/puppy/platforms/linux/platform.nim resulting in an empty string.
On Linux when compiled with
-d:danger --passC:-fltorunning the following example code will crash withError uncompressing response [PuppyError]:Removing the for loop avoids the issue, as does not using either
-d:dangeror--passC:-flto.For some reason
bodyWrapdoes not get set properly at line 76 insrc/puppy/platforms/linux/platform.nimresulting in an empty string.