Skip to content

Cleanup set_connect_fail debug log#13091

Open
masaori335 wants to merge 3 commits intoapache:masterfrom
masaori335:asf-master-cleanup-set-connect-fail
Open

Cleanup set_connect_fail debug log#13091
masaori335 wants to merge 3 commits intoapache:masterfrom
masaori335:asf-master-cleanup-set-connect-fail

Conversation

@masaori335
Copy link
Copy Markdown
Contributor

Print name of errno to clarify.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates a debug log in HttpTransact::State::set_connect_fail() to print errno values in a more readable form (symbolic name/message) instead of raw integers.

Changes:

  • Replaces a Dbg() integer-based message with swoc::bwprint + swoc::bwf::Errno formatting.
  • Adds an explicit _dbg_ctl.on() guard before building the formatted message.

Comment thread include/proxy/http/HttpTransact.h Outdated
Comment thread include/proxy/http/HttpTransact.h
Comment thread include/proxy/http/HttpTransact.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants