This is an automated email from the ASF dual-hosted git repository.
liuhan pushed a commit to branch increase-buffer
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git
The following commit(s) were added to refs/heads/increase-buffer by this push:
new 90183c1 Increase the transmit buffer size
90183c1 is described below
commit 90183c1103f3538713aeb5155d84b72917214566
Author: mrproliu <[email protected]>
AuthorDate: Thu Jun 5 21:20:00 2025 +0800
Increase the transmit buffer size
---
bpf/include/queue.h | 2 +-
pkg/accesslog/collector/protocols/http1.go | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/bpf/include/queue.h b/bpf/include/queue.h
index ca9e387..c964c97 100644
--- a/bpf/include/queue.h
+++ b/bpf/include/queue.h
@@ -28,7 +28,7 @@ struct {
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
__uint(max_entries, 1);
__uint(key_size, sizeof(__u32));
- __uint(value_size, 30960); // all events are less than 10KB
+ __uint(value_size, 30960); // all events are less than 30KB
} rover_data_heap SEC(".maps");
static __always_inline void *rover_reserve_buf(void *map, __u64 size) {
diff --git a/pkg/accesslog/collector/protocols/http1.go
b/pkg/accesslog/collector/protocols/http1.go
index f243f35..b975d23 100644
--- a/pkg/accesslog/collector/protocols/http1.go
+++ b/pkg/accesslog/collector/protocols/http1.go
@@ -162,10 +162,6 @@ func (p *HTTP1Protocol) handleResponse(metrics
*HTTP1Metrics, connection *Partit
return enums.ParseResultSkipPackage, nil
}
- s := request.Original().URL.String()
- if s == "/" {
- fmt.Sprintf("s")
- }
// parsing response
response, result, err := p.reader.ReadResponse(request, b, true)
defer func() {