Skip to content

Commit c44c8b5

Browse files
committed
fix: increase peek notification name bytes
1 parent cb8a4e5 commit c44c8b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/proto/reader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ func (r *Reader) PeekReplyType() (byte, error) {
9191
}
9292

9393
func (r *Reader) PeekPushNotificationName() (string, error) {
94-
// peek 32 bytes, should be enough to read the push notification name
95-
buf, err := r.rd.Peek(32)
94+
// peek 36 bytes, should be enough to read the push notification name
95+
buf, err := r.rd.Peek(36)
9696
if err != nil {
9797
return "", err
9898
}

0 commit comments

Comments
 (0)