Skip to content

Cleanup: remove unused functions related connect attempts#13357

Merged
masaori335 merged 1 commit into
apache:masterfrom
masaori335:asf-master-cleanup-connect-attempt
Jul 2, 2026
Merged

Cleanup: remove unused functions related connect attempts#13357
masaori335 merged 1 commit into
apache:masterfrom
masaori335:asf-master-cleanup-connect-attempt

Conversation

@masaori335

Copy link
Copy Markdown
Contributor
  1. is_server_negative_cached is not called anymore
  2. handle_response_from_parent_plugin and delete_server_rr_entry are declared, but no definitions.

Copilot AI review requested due to automatic review settings July 2, 2026 07:29
@masaori335 masaori335 self-assigned this Jul 2, 2026
@masaori335 masaori335 added this to the 11.0.0 milestone Jul 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up unused / orphaned HttpTransact APIs related to origin connect retry and negative-caching behavior, reducing dead code and keeping the public/internal interface consistent with actual usage.

Changes:

  • Removed the unused HttpTransact::is_server_negative_cached() declaration and implementation.
  • Removed unused/unimplemented HttpTransact method declarations (handle_response_from_parent_plugin, delete_server_rr_entry).
  • Confirmed there are no remaining references to the removed symbols in the tree.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/proxy/http/HttpTransact.cc Removes the unused is_server_negative_cached() implementation.
include/proxy/http/HttpTransact.h Removes unused / unimplemented method declarations to match available definitions and call sites.

@JosiahWI JosiahWI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the cleanup!

@masaori335 masaori335 merged commit a24dd80 into apache:master Jul 2, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this to For v10.2.0 in ATS v10.2.x Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: For v10.2.0

Development

Successfully merging this pull request may close these issues.

3 participants