You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by li...@apache.org on 2024/12/13 07:59:59 UTC
(skywalking-rover) 02/02: Adding test log
This is an automated email from the ASF dual-hosted git repository.
liuhan pushed a commit to branch missing-details
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git
commit 879581d93cbf3c1680bbd590d92ae3b0871e2569
Author: mrproliu <74...@qq.com>
AuthorDate: Fri Dec 13 15:59:47 2024 +0800
Adding test log
---
pkg/accesslog/collector/protocols/http1.go | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pkg/accesslog/collector/protocols/http1.go b/pkg/accesslog/collector/protocols/http1.go
index c07902e..0052b7f 100644
--- a/pkg/accesslog/collector/protocols/http1.go
+++ b/pkg/accesslog/collector/protocols/http1.go
@@ -153,6 +153,8 @@ func (p *HTTP1Protocol) handleRequest(metrics *HTTP1Metrics, buf *buffer.Buffer)
func (p *HTTP1Protocol) handleResponse(metrics *HTTP1Metrics, b *buffer.Buffer) (enums.ParseResult, error) {
firstRequest := metrics.halfRequests.Front()
if firstRequest == nil {
+ log.Infof("cannot found request for response, skip response, connection ID: %d, random ID: %d",
+ metrics.ConnectionID, metrics.RandomID)
return enums.ParseResultSkipPackage, nil
}
request := metrics.halfRequests.Remove(firstRequest).(*reader.Request)