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

Add cd2c #742

Merged
merged 2 commits into from
Jul 24, 2018
Merged

Add cd2c #742

merged 2 commits into from
Jul 24, 2018

Conversation

funkyboy
Copy link
Contributor

No description provided.

client.connection.once(.connected) { _ in
let transport = client.transport as! TestProxyTransport
let firstConnectionDetails = transport.protocolMessagesReceived.filter{ $0.action == .connected }[0].connectionDetails
expect(firstConnectionDetails!.maxMessageSize).to(equal(16384)) // Sandbox apps have a 16384 limit
Copy link
Contributor

@ricardopereira ricardopereira Jul 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently failing, right? Because I don't see any change where the connection is sending the current MaxMessageSize to the Realtime system.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No that's passing. And once this is merged, we can be sure of that value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are already loading that value https://github.com/ably/ably-ios/blob/develop/Source/ARTConnectionDetails.m#L24 It's just not exposed yet in realtime.

@funkyboy funkyboy merged commit 0516b28 into develop Jul 24, 2018
@ricardopereira ricardopereira deleted the add-CD2c branch September 21, 2018 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants