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

Update for current varnish-cache and polish #55

Merged
merged 7 commits into from
Nov 20, 2023

Conversation

nigoroll
Copy link
Contributor

This makes the vmod work and pass the test-suite with varnish-cache as of baf60b4d2ef5f418e6ac470f3562e43c37e2ad44

Please see individual commit messages.

nigoroll added 7 commits June 23, 2023 13:31
address recommendations from vmodtool
getting closer to vcdk

this also fixes an error with parallel make.
The previous timestamp was before the timeout, so the delta should
also be longer than one second.
nigoroll added a commit to nigoroll/varnish-cache that referenced this pull request Jun 23, 2023
@@ -15,8 +15,8 @@ varnish v1 -vcl+backend {
curl.set_timeout(200);
curl.set_connect_timeout(200);
} else {
curl.set_timeout(1300);
curl.set_connect_timeout(1300);
curl.set_timeout(1310);
Copy link
Contributor

Choose a reason for hiding this comment

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

I have a hard time believing that 10ms make a clean difference in general. Is there a known reason for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reason why I changed the timeout was that the test case reported a run time of 1.299something seconds. This seems a bit odd, but I did not consider it too relevant, have not looked at what libcurl does and just applied this change to make the test case pass.

@gquintard
Copy link
Contributor

looks good to me, but I don't have commit access anymore :-)

@gquintard
Copy link
Contributor

@dridi, @hermunn, unless there's an objection, I'm merging this next week

@dridi
Copy link
Member

dridi commented Nov 14, 2023

I object to @gquintard's definition of a week.

@gquintard gquintard merged commit 0f91123 into varnish:master Nov 20, 2023
@gquintard
Copy link
Contributor

merged, thanks @nigoroll !

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.

3 participants