Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support VSL version 1 and 64-bit VXIDs #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

delthas
Copy link

@delthas delthas commented Jul 20, 2023

The VSL format was changed, with 3 header lines instead of 2. Namely, VXIDs are now 64-bit integers.

This breaks the library interface (because we change the callback type).

Using the version field, we can still support reading the previous version of the VSL records.

See: https://github.com/varnishcache/varnish-cache/blob/varnish-7.2.1/include/vapi/vsl_int.h
See: https://github.com/varnishcache/varnish-cache/blob/varnish-7.3.0/include/vapi/vsl_int.h
Fixes: #20

The VSL format was changed, with 3 header lines instead of 2.
Namely, VXIDs are now 64-bit integers.

This breaks the library interface (because we change the callback
type).

Using the version field, we can still support reading the
previous version of the VSL records.

See: https://github.com/varnishcache/varnish-cache/blob/varnish-7.2.1/include/vapi/vsl_int.h
See: https://github.com/varnishcache/varnish-cache/blob/varnish-7.3.0/include/vapi/vsl_int.h
Fixes: varnishcache-friends#20
@fgsch
Copy link
Member

fgsch commented Aug 16, 2023

👋 First and foremost, thank you for the PR.

I've been away the last month and I'm just seeing this. Let me have a look in depth and I will get back to you as soon as I can.

@delthas
Copy link
Author

delthas commented Jul 25, 2024

Hi, gentle ping 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

64 bits VXIDs in Varnish 7.3.0
2 participants