Skip to content

Commit de03eb3

Browse files
committed
Bug fix: Initialize RequestReceivedTimestamp
1 parent a73776c commit de03eb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/epp/handlers/streamingserver.go

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func (s *StreamingServer) Process(srv extProcPb.ExternalProcessor_ProcessServer)
9090

9191
switch v := req.Request.(type) {
9292
case *extProcPb.ProcessingRequest_RequestHeaders:
93+
reqCtx.RequestReceivedTimestamp = time.Now()
9394
// Do nothing. Header info is handled in the HandleRequestBody func
9495
case *extProcPb.ProcessingRequest_RequestBody:
9596
loggerVerbose.Info("Incoming body chunk", "body", string(v.RequestBody.Body), "EoS", v.RequestBody.EndOfStream)

0 commit comments

Comments
 (0)