https://github.com/SignalR/SignalR/pull/1872/files#r3821845