Skip to content

Instantly share code, notes, and snippets.

@danroth27
Created May 8, 2014 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danroth27/e53ab973c08e37bf2e67 to your computer and use it in GitHub Desktop.
Save danroth27/e53ab973c08e37bf2e67 to your computer and use it in GitHub Desktop.
Templates for filing ASP.NET bugs

Title

A short description of the bug that becomes the issue title
e.g. Long polling transport tries reconnecting forever when ping succeeds but poll request fails*

Functional impact

Does the bug result in any actual functional issue, if so, what?
e.g. If poll request starts working again, it recovers. Otherwise, it sends many requests per sec to the servr.

Minimal repro steps

What is the smallest, simplest set of steps to reproduce the issue. If needed, provide a project that demonstrates the issue.

  1. Enable SQL scale out in the samples app
  2. Open the Raw connection sample page with long polling transport (~/Raw/?transport=longPolling)
  3. Confirm the connection is connected
  4. Stop the SQL Server service
  5. Wait for the connection to time out (~2 minutes)

Expected result

What would you expect to happen if there wasn't a bug
e.g. The connection should stop trying to reconnect after the disconnect timeout (~30 seconds)

Actual result

What is actually happening
e.g. The connection tries reconnecting forever

Further technical details

Optional, details of the root cause if known
e.g. This check returns true while reconnecting even if the ping succeeds and the poll fails, then the next line changes the state of the connection to connected, which cancels the reconnect timeout that tracks how long the reconnect phase is taking and eventually would forcibly stop the connection. The poll request from a few lines before eventually fails and the error handler starts the whole dance again by setting the connection back to the reconnecting state (restarting the reconnect timeout) and then doing the ping/poll check again. Around and around we go.

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