SignalR/SignalR — pull request #926 by davidfowl (2012-11-06 10:35:50+00:00)
Title: Handle failing transport errors more gracefully.

- When failing to send to a transport, end the connection
under the assumption that the transport failing because the
connection is "broken".
- Optimize the task queue on .NET 4.0 so that it's synchronous,
if the function isn't async or completes quickly. Also
avoid creating a closure.
- Kill the connection if keep alive fails to be sent.
- Handle transport errors in a more central place.