Skip to content

Commit 764bd1e

Browse files
authored
doc: buffer.go: s/request/response/ (#172)
1 parent b3cf989 commit 764bd1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buffer/buffer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
183183
func 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.
195195
func MemResponseBodyBytes(m int64) optSetter {
196196
return func(b *Buffer) error {

0 commit comments

Comments
 (0)