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

Append "/poll" to polling attempts in case the URL ends with "/hubs" #1767

Merged
merged 4 commits into from Mar 28, 2013

Conversation

halter73
Copy link
Member

- Append "/poll" to polling attempts in case the URL ends with "/hubs"
- Append "/poll" to polling attempts in case the URL ends with "/hubs"
@@ -355,7 +355,7 @@
if (index >= transports.length) {
if (!connection.transport) {
// No transport initialized successfully
$(connection).triggerHandler(events.onError, "SignalR: No transport could be initialized successfully. Try specifying a different transport or none at all for auto initialization.");
$(connection).triggerHandler(events.onError, ["SignalR: No transport could be initialized successfully. Try specifying a different transport or none at all for auto initialization."]);
Copy link
Member

Choose a reason for hiding this comment

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

?

Copy link
Member Author

Choose a reason for hiding this comment

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

triggerHandler expects an array.

It came up when I was trying to figure out why my JS test was failing in Chutzpah but not in normal browsers.

I made this change in its own commit.

Copy link
Member

Choose a reason for hiding this comment

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

Ok

Copy link
Member

Choose a reason for hiding this comment

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

Are we missing this in other cases?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope

@davidfowl
Copy link
Member

Make sure you run some tests with old clients and new servers and let @Xiaohongt know as well.

@halter73
Copy link
Member Author

@davidfowl There are absolutely no server-side changes making it impossible for this change to affect old clients.

@davidfowl
Copy link
Member

@halter73 I still want verification

@halter73 halter73 merged commit 604fde7 into dev Mar 28, 2013
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

Successfully merging this pull request may close these issues.

None yet

4 participants