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

Fixes issues #40 and #42 #44

Merged
merged 3 commits into from
May 11, 2017
Merged

Fixes issues #40 and #42 #44

merged 3 commits into from
May 11, 2017

Conversation

jdavid
Copy link
Contributor

@jdavid jdavid commented Apr 24, 2017

  • fromEncoded, fromEncodedArray
  • HttpRequest & HttpRetry timeouts

@mattheworiordan
Copy link
Member

Nice, any idea on the failures?

@jdavid
Copy link
Contributor Author

jdavid commented Apr 25, 2017

Fixed.

We already saw errors like this one with ably-python. Apparently the server does not like the ! char and timeouts.

@@ -269,7 +269,7 @@ public function testPublishConnectionKey() {
$msg = new Message();
$msg->name = 'delegatedMsg';
$msg->data = 'test payload';
$msg->connectionKey = 'fake!realtime_key';
$msg->connectionKey = 'fake.realtime_key';
Copy link
Member

Choose a reason for hiding this comment

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

What error were you getting with the !. This is expected to fail anyway no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

timeout error

you can see the error in the build for the master branch
https://travis-ci.org/ably/ably-php/jobs/218008466#L426

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 had the same issue with ably-python
it got fixed in this commit
ably/ably-python@e4078f2

but I understand there is still an issue server side, it should not timeout imho

Copy link
Member

Choose a reason for hiding this comment

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

OK

@mattheworiordan
Copy link
Member

One small question, but otherwise this looks good

@mattheworiordan mattheworiordan merged commit 03191a1 into ably:master May 11, 2017
@mattheworiordan
Copy link
Member

Can you do a version bump and I can arrange a release soon

@jdavid
Copy link
Contributor Author

jdavid commented May 11, 2017

what version should it be? (current version is 1.0.0)

@mattheworiordan
Copy link
Member

Just a patch bump, so 1.0.1

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