问答 / 1 / 3 / 创建于 1年前
目前看了日志出现POST too largehttp: POST too large的情况,想请教下gin怎么设置最大请求size。
r := gin.Default() r.MaxMultipartMemory = 10 * 1024 * 1024 // 10MB
我要举报该,理由是: