We are creating a small private network with the purpose of sharing data. We thought that the main concern about writing large amounts of data in Ethereum would be the gas cost, which is not a problem to us, as this will be a private network.
As we developed our POC, we stumbled across this error message on Geth:
content length too large
We investigated and saw that there is a limitation on Geth about how much data can be sent in a single request on http.go file:
const (
maxHTTPRequestContentLength = 1024 * 128
)
My question is: is there a technical reason for this limitation? Or is it just because is not reasonable in a public network to send this amount of data due to gas costs?
Can I increase the value or remove this constraint in my private network?