摘要: 使用gout 上传文件流时, 发现上传文件过程中会占用很大的内存。 研究其代码发现;对于文件流,其会copy到内存里面,然后在post;文件有多大,他就会拷贝多大。 // Encode Add Encoder core function, used to set io.Writer into the 阅读全文
posted @ 2026-01-15 12:00 codestacklinuxer 阅读(3) 评论(0) 推荐(0)