s := &fasthttp.Server{ Handler: requestHandler, // Every response will contain 'Server: My super server' header. Name: "My super server", // Other Server settings may be set here. MaxRequestBodySize: 4 * 1024 * 1024 * 1024,}只需在启动时设置大小即可。