payload from Http Request can be corrupted when OnRequestProgress()

In the Editor all works everything fine because Http Manager runs on the game thread. but at the packaged build it has different thread.

randomly when I’m trying to read payload there is access violation.

how could I synchronize Http Manager with the Game thread?

ok, I think I will override http curl request with mutex support for the payload)

hmm… seems that I can’t override FCurlHttpRequest since it in the Private section of the Http Module.

Anyway, Thanks to the Epic - we have FHttpModule::Get().SetMaxReadBufferSize
In my case, I can estimate approximately buffer size to preventing memory reallocation.

but in case if you not - need Http requests with mutex payload support, maybe as least as optional.

1 Like