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

start-stop-start long polling results on a stream of poll requests #2601

Closed
NTaylorMullen opened this issue Oct 1, 2013 · 2 comments
Closed
Assignees
Milestone

Comments

@NTaylorMullen
Copy link
Contributor

Modify samples\Microsoft.AspNet.SignalR.Samples\Hubs\Test\chat.js to to this:

    hubConnection.start({ transport: activeTransport });
    hubConnection.stop();
    hubConnection.start({ transport: activeTransport });

On browser, open JS Console and connect to http://localhost:40476/hubs/test/chat.aspx?transport=longPolling

You will see infinite attempts to do a poll request
#2160

@ghost ghost assigned halter73 Oct 1, 2013
NTaylorMullen added a commit that referenced this issue Oct 2, 2013
…rts the request.

- Without aborting the negotiate request starting and stopping in quick succession can cause multiple active ajax requests attempting to connect.

#2601
NTaylorMullen added a commit that referenced this issue Oct 2, 2013
…rts the request.

- Without aborting the negotiate request starting and stopping in quick succession can cause multiple active ajax requests attempting to connect.

#2601
NTaylorMullen added a commit that referenced this issue Oct 7, 2013
…rts the request.

- Without aborting the negotiate request starting and stopping in quick succession can cause multiple active ajax requests attempting to connect.

#2601
NTaylorMullen added a commit that referenced this issue Oct 7, 2013
…rts the request.

- Without aborting the negotiate request starting and stopping in quick succession can cause multiple active ajax requests attempting to connect.

#2601
@halter73
Copy link
Member

halter73 commented Oct 9, 2013

This issue was addressed by the following pull request:

#2600

@ghost ghost assigned gustavo-armenta Oct 14, 2013
@gustavo-armenta
Copy link
Contributor

tested and there is only one pull request as expected

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

No branches or pull requests

3 participants