Skip to content

Support VSL version 1 and 64-bit VXIDs - #21

Open
delthas wants to merge 1 commit into
varnishcache-friends:mainfrom
delthas:feature-730
Open

Support VSL version 1 and 64-bit VXIDs#21
delthas wants to merge 1 commit into
varnishcache-friends:mainfrom
delthas:feature-730

Conversation

@delthas

@delthas delthas commented Jul 20, 2023

Copy link
Copy Markdown

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

fgsch commented Aug 16, 2023

Copy link
Copy Markdown
Member

👋 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

delthas commented Jul 25, 2024

Copy link
Copy Markdown
Author

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