Skip to content

Commit

Permalink
fixed chan bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amitslavin committed Nov 26, 2023
1 parent 665defb commit 7d75232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/network/ebpf/c/protocols/http2/decoding-defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ typedef struct {
__u64 path_exceeds_frame;
__u64 exceeding_max_interesting_frames;
__u64 exceeding_max_frames_to_filter;
__u64 path_size_bucket[7];
__u64 path_size_bucket[6];
} http2_telemetry_t;

#endif
1 change: 1 addition & 0 deletions pkg/network/protocols/http2/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ func (p *protocol) PostStart(mgr *manager.Manager) error {
// Setup map cleaner after manager start.
ticker := time.NewTicker(10 * time.Second)
http2Telemetry := &HTTP2Telemetry{}
p.done = make(chan struct{})
var zero uint32

mp, _, err := mgr.GetMap(telemetryMap)
Expand Down

0 comments on commit 7d75232

Please sign in to comment.