File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ func MemRequestBodyBytes(m int64) optSetter {
179179 }
180180}
181181
182- // MaxResponseBodyBytes sets the maximum request body size in bytes
182+ // MaxResponseBodyBytes sets the maximum response body size in bytes
183183func MaxResponseBodyBytes (m int64 ) optSetter {
184184 return func (b * Buffer ) error {
185185 if m < 0 {
@@ -190,7 +190,7 @@ func MaxResponseBodyBytes(m int64) optSetter {
190190 }
191191}
192192
193- // MemResponseBodyBytes sets the maximum request body to be stored in memory
193+ // MemResponseBodyBytes sets the maximum response body to be stored in memory
194194// buffer middleware will serialize the excess to disk.
195195func MemResponseBodyBytes (m int64 ) optSetter {
196196 return func (b * Buffer ) error {
You can’t perform that action at this time.
0 commit comments