Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

manugarg
Copy link
Contributor

@manugarg manugarg commented Mar 9, 2024

Changes:

  • Split out server handling code into a different file
  • Write tests for serverutils
  • Use context to cancel various loops, but we'll still not be able to cancel the pending read.

@manugarg manugarg added this to the v0.13.4 milestone Mar 15, 2024
@manugarg manugarg merged commit 527a9eb into master Mar 22, 2024
@manugarg manugarg deleted the external_refactor branch March 22, 2024 01:18
manugarg added a commit that referenced this pull request May 21, 2024
We should not be writing to buffered stdout and stderr. This change
was introduced recently in v0.13.4:
  github.com//pull/695
manugarg added a commit that referenced this pull request May 21, 2024
We should not be writing to buffered stdout and stderr. This change
was introduced recently in v0.13.4:
  github.com//pull/695
stvnrhodes added a commit to stvnrhodes/cloudprober that referenced this pull request Jun 18, 2024
I noticed that https://pkg.go.dev/github.com/cloudprober/cloudprober/probes/external/serverutils#ServeContext doesn't take a context. This has been true since it was added in cloudprober#695, so it looks like an oversight. This change updates the function to properly take a context (and to work with its example code.
manugarg pushed a commit that referenced this pull request Jun 19, 2024
I noticed that https://pkg.go.dev/github.com/cloudprober/cloudprober/probes/external/serverutils#ServeContext doesn't take a context. This has been true since it was added in #695, so it looks like an oversight. This change updates the function to properly take a context (and to work with its example code.
conallob pushed a commit to conallob/cloudprober that referenced this pull request May 6, 2025
- Split out server handling code into a different file
- Add tests for serverutils
- Use context to cancel various loops (note: we'll still not be able to cancel the pending read).
conallob pushed a commit to conallob/cloudprober that referenced this pull request May 6, 2025
We should not be writing to buffered stdout and stderr. This change
was introduced recently in v0.13.4:
  github.com/cloudprober/pull/695
conallob pushed a commit to conallob/cloudprober that referenced this pull request May 6, 2025
I noticed that https://pkg.go.dev/github.com/cloudprober/cloudprober/probes/external/serverutils#ServeContext doesn't take a context. This has been true since it was added in cloudprober#695, so it looks like an oversight. This change updates the function to properly take a context (and to work with its example code.
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