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 @@ -518,7 +518,7 @@ func WithBody(body interface{}) MessageSetting {
518
518
}
519
519
}
520
520
521
- // WithNewBody resets the function of geting body.
521
+ // WithNewBody resets the function of getting body.
522
522
// NOTE: newBodyFunc is only for reading form connection.
523
523
func WithNewBody (newBodyFunc NewBodyFunc ) MessageSetting {
524
524
return func (m Message ) {
@@ -540,7 +540,7 @@ func WithXferPipe(filterID ...byte) MessageSetting {
540
540
var (
541
541
messageSizeLimit uint32 = math .MaxUint32
542
542
// ErrExceedMessageSizeLimit error
543
- ErrExceedMessageSizeLimit = errors .New ("Size of package exceeds limit" )
543
+ ErrExceedMessageSizeLimit = errors .New ("size of package exceeds limit" )
544
544
)
545
545
546
546
// MessageSizeLimit gets the message size upper limit of reading.
You can’t perform that action at this time.
0 commit comments