This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch fix-protocol-lost
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/fix-protocol-lost by this push:
     new f6cbfe8  added a delay time for delete connection
f6cbfe8 is described below

commit f6cbfe8ec5791eeb7a178e34e4f5856018426378
Author: mrproliu <[email protected]>
AuthorDate: Wed Nov 13 11:23:39 2024 +0900

    added a delay time for delete connection
---
 pkg/accesslog/collector/protocols/http1.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/accesslog/collector/protocols/http1.go 
b/pkg/accesslog/collector/protocols/http1.go
index 13b8661..a33e170 100644
--- a/pkg/accesslog/collector/protocols/http1.go
+++ b/pkg/accesslog/collector/protocols/http1.go
@@ -150,7 +150,8 @@ func (p *HTTP1Protocol) handleHTTPData(metrics 
*HTTP1Metrics, request *reader.Re
        detailEvents = appendSocketDetailsFromBuffer(detailEvents, 
response.BodyBuffer())
 
        if len(detailEvents) == 0 {
-               http1Log.Warnf("cannot found any detail events for HTTP/1.x 
protocol, data id: %d-%d",
+               http1Log.Warnf("cannot found any detail events for HTTP/1.x 
protocol, connection ID: %d, random ID: %d, data id: %d-%d",
+                       metrics.connectionID, metrics.randomID,
                        request.MinDataID(), 
response.BodyBuffer().LastSocketBuffer().DataID())
                return
        }

Reply via email to