Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payload rejected when priority is set #29

Open
nirandas opened this issue May 8, 2016 · 0 comments
Open

Payload rejected when priority is set #29

nirandas opened this issue May 8, 2016 · 0 comments

Comments

@nirandas
Copy link

nirandas commented May 8, 2016

When priority is set, APNS rejects payload and closes connection. Issue is in connection.go line 479 writing priority data length.

binary.Write(c.inFlightItemByteBuffer, binary.BigEndian, uint8(4))

Should be

binary.Write(c.inFlightItemByteBuffer, binary.BigEndian, uint8(1))

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant