Skip to content

Commit

Permalink
Small performance tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
LordJZ authored and Tratcher committed Apr 9, 2017
1 parent c8abf43 commit b850cd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ private async Task InvokeTokenEndpointAsync()
Response.Headers.Set("Cache-Control", "no-cache");
Response.Headers.Set("Pragma", "no-cache");
Response.Headers.Set("Expires", "-1");
Response.ContentLength = memory.ToArray().Length;
Response.ContentLength = body.Length;
await Response.WriteAsync(body, Request.CallCancelled);
}

Expand Down

0 comments on commit b850cd8

Please sign in to comment.