Skip to content

Commit

Permalink
Fighting xplat differences, one slash in the dark at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
serialseb committed Mar 16, 2018
1 parent 42007d8 commit e2b2c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenRasta.Plugins.ReverseProxy/ReverseProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public async Task<HttpResponseMessage> Send(ICommunicationContext context, strin
httpResponseMessage.Headers.Via.Add(new ViaHeaderValue("1.1", identifier));
return httpResponseMessage;
}
catch (TaskCanceledException) when (token.IsCancellationRequested)
catch (TaskCanceledException e) when (token.IsCancellationRequested || e.CancellationToken == token)
{
return new HttpResponseMessage
{
Expand Down

0 comments on commit e2b2c5d

Please sign in to comment.