Commit b37a7f0
committed
Add --curl-debug option for verbose HTTP debugging
This commit adds a new global --curl-debug CLI option that enables
verbose cURL output to help troubleshoot TLS and connection issues.
When --curl-debug is specified, detailed HTTP transaction information
is displayed including:
- Connection establishment details
- TLS handshake information
- HTTP headers and progress
- Transfer details
This is particularly useful for diagnosing customer issues related to:
- Misconfigured CA certificates
- Incorrect system clocks causing TLS validation failures
- Network connectivity problems
- Certificate verification errors
The implementation leverages Guzzle's built-in debug functionality
which uses cURL's CURLOPT_VERBOSE option under the hood.1 parent 48dd6a5 commit b37a7f0
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
158 | 166 | | |
159 | 167 | | |
160 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
| |||
0 commit comments