Skip to content

feat: implemented http2 support for ebpf#138

Open
kural-akto wants to merge 9 commits intofeature/k8s_ebpffrom
feature/http2-ebpf
Open

feat: implemented http2 support for ebpf#138
kural-akto wants to merge 9 commits intofeature/k8s_ebpffrom
feature/http2-ebpf

Conversation

@kural-akto
Copy link

No description provided.

responseComplete bool
}

func ParseHTTP2AndProduce(receiveBuffer []byte, sentBuffer []byte, sourceIp string, destIp string, vxlanID int, isPending bool,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see if some parts can be common b/w this function and the standard parseAndProduce function

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since, only the parsing of stream should differ.
kafka produce and filters should be the same.

__builtin_memcpy(conn_info->protocol, "HTTP2", 6);
return;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some comment for a reference of the magic sequence.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm, just write, http verbs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants