-
Notifications
You must be signed in to change notification settings - Fork 382
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
Confusing behavior for H2 session closed by client before a request is sent #4281
Comments
Checked other branches:
|
nigoroll
added a commit
to nigoroll/varnish-cache
that referenced
this issue
Feb 24, 2025
It is fine for a client to close the connection, we should say a friendly goodbye and log this as no error. Closes varnishcache#4281 Related to varnishcache#4283
nigoroll
added a commit
to nigoroll/varnish-cache
that referenced
this issue
Feb 24, 2025
It is fine for a client to close the connection, we should say a friendly goodbye and log this as no error. Closes varnishcache#4281 Related to varnishcache#4283
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is about behavior originally observed in production on varnish-6.0.13 with
varnishlog -g session -q ...
after enabling theDebug
vsl:Here the circumstances leading to the situation are not clear from the log, there is no information given regarding which system call failed and no session closure reason. Also, why
ENHANCE_YOUR_CALM
?It has taken me a surprisingly long time trying to come up with a reproducer, and I now I hope to have one:
When run on varnish-6.0.13 (a395739 with a backport of c40c352), the relevant VSL produced by the test case is:
One difference which I am unhappy about is that in the production VSL, 14 response body bytes are logged, but 20 in the suspected reproducer.
So here we already see one issue, the duplicate
End
, which explains why we do not see theSessClose
in the production VSL.When run on current code 3cd6596, the VSL from the VTC is:
So two problems have been solved in the meantime: There is no duplicate
End
any more, and a helpfulSessError
is logged.But is
H2 ENHANCE_YOUR_CALM
/SessClose OVERLOAD
the best option?The text was updated successfully, but these errors were encountered: