When using dohttpreq on a copy of BLT4L compiled using Clang, the game will sometimes segfault (crash to desktop).
This is because Clang seems to be generating misaligned MOVAPS instructions when assigning a value to a member of the LUAHttpData struct, causing the segfaults.
Forcing the alignment of the first item in the first field of said struct seems to fix the issue; Testing 100 HTTP requests has not yet segfaulted.
When using dohttpreq on a copy of BLT4L compiled using Clang, the game will sometimes segfault (crash to desktop).
This is because Clang seems to be generating misaligned MOVAPS instructions when assigning a value to a member of the LUAHttpData struct, causing the segfaults.
Forcing the alignment of the first item in the first field of said struct seems to fix the issue; Testing 100 HTTP requests has not yet segfaulted.