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

fix timeout strategy and http Compression #1323

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

zjj
Copy link

@zjj zjj commented Nov 16, 2024

commit: 4382acc
fix timeout

3ec2966
fix situtaion when Compression not set.

zjj added 2 commits November 14, 2024 11:00
although a ctx with deadline is set in most cases,
but passing in context.TODO() can lead to some very strange problems.
it would make sense to handle Content-Encoding when
we does not set Compression

when Content-Encoding is not "" or "identity", check
if the value in accept encoding.

eg:
  http_2xx:
    prober: http
    http:
      headers:
        "Accept-Encoding": "gzip, br, defalte"
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.

1 participant