expose:
- port: 8888
as: 80
to:
- global: true
http_options:
max_body_size: 4294967294 #old value was 5368709120. new value is MAX_uint32 - 1 for safety
We are trying to increase the upload size to a Jupyter Notebook instance to around 5GB. However, due to the uint32 limit, we cannot increase past ~4GB.
To Reproduce
Steps to reproduce the behavior:
Create an SDL with the http_options shown above. The cloudmos proxy throws
Status code was not success (422) : json: cannot unmarshal number 5368709120 into Go struct field ServiceExposeHTTPOptions.services.expose.httpOptions.maxBodySize of type uint32
Expected behavior
This is expected as the limit is uint32
Potential fix
Increase that field to uint64. The relevant code is here. Thank you!
Describe the bug
We are trying to increase the upload size to a Jupyter Notebook instance to around 5GB. However, due to the uint32 limit, we cannot increase past ~4GB.
To Reproduce Steps to reproduce the behavior: Create an SDL with the
http_options
shown above. The cloudmos proxy throwsExpected behavior This is expected as the limit is uint32
Potential fix Increase that field to
uint64
. The relevant code is here. Thank you!