Add debug logging to `wxWebRequest` (PR #26086)

14 views
Skip to first unread message

VZ

unread,
Jan 9, 2026, 3:37:14 PM (2 days ago) Jan 9
to wx-...@googlegroups.com, Subscribed

This is a draft as there is no documentation yet and I'd also like to log at least something (even though I don't think we can information at the same level of details as libcurl provides) for the WinHTTP backend.

I'd welcome comments about the API, notably I don't know if it really makes sense to allocate a new logger for each request, but if we want to reuse the same one, we probably need to pass the request to it?


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26086

Commit Summary

  • f80ccd5 WIP
  • 0d6fe4c Add wxWebRequestDebugLogger and implement it in curl backend

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26086@github.com>

VZ

unread,
Jan 9, 2026, 5:08:26 PM (2 days ago) Jan 9
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26086)

Thinking more about this, would it, perhaps, make more sense to enable debug logging at the session level? This is less flexible, but, in practice, I think I'm going to enable it for all requests anyhow when I need more information for troubleshooting.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26086/c3730728300@github.com>

VZ

unread,
Jan 10, 2026, 5:27:24 PM (22 hours ago) Jan 10
to wx-...@googlegroups.com, Push

@vadz pushed 2 commits.

  • 0a65254 Remove unused member variable in wxWebViewChromium code
  • a8db111 Add wxWebRequestDebugLogger for details logging of HTTP transfers


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26086/before/a527e6a058e3441a2f235170bebebf5369789d9b/after/a8db111043e82c392607700e0c3f23ac36802cee@github.com>

VZ

unread,
Jan 10, 2026, 5:29:24 PM (22 hours ago) Jan 10
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26086)

I've moved setting the logger to the session as this seems more convenient and provided partial implementation for WinHTTP.

I plan to merge this if there are no objections, as this should be already useful when debugging any download-related problems.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26086/c3733629793@github.com>

Reply all
Reply to author
Forward
0 new messages