Skip to content

Commit

Permalink
Update src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebR…
Browse files Browse the repository at this point in the history
…equestActivitySource.netfx.cs

Co-authored-by: Johannes Tax <[email protected]>
  • Loading branch information
matt-hensley and pyohannes authored Sep 19, 2023
1 parent dfaa8f7 commit 8bd64ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ private static void HookOrProcessResult(HttpWebRequest request)
if (endCalledAccessor.Invoke(readAsyncContext) || readAsyncContext.CompletedSynchronously)
{
// We need to process the result directly because the read callback has already fired. Force a copy because response has likely already been disposed.
ProcessResult(readAsyncContext, null, writeAsyncContextCallback.Activity, resultAccessor(readAsyncContext), true, request, -1);
ProcessResult(readAsyncContext, null, writeAsyncContextCallback.Activity, resultAccessor(readAsyncContext), true, request, writeAsyncContextCallback.StartTimestamp);
return;
}

Expand Down

0 comments on commit 8bd64ef

Please sign in to comment.