Release attachment size limit

I’m trying to upload a binary to a release but it’s quote large (4GB iso) and I get “TypeError: NetworkError when attempting to fetch resource.” I tried experimenting with different file sizes to figure out largest file I could upload and it’s 245 MB. If I try a 246MB file I get “Error: Internal Server Error”. I’m doing all of these over the swagger interface.

Here’s a snippet from my app.ini


Edit: gitea 1.12.1 and go 1.14.4