On 1. 1. 26 19:45, [email protected] wrote:
Author: brane
Date: Thu Jan 1 18:45:34 2026
New Revision: 1931047
Log:
Added error callback infrastructure.
Discuss...
More seriously: this is only the first step. It removes the
ssl-context-specific error callback and adds a layered tree of callbacks
instead. For now, the SSL error will still go to the global level.
The next step is to revise the SSL functions that log errors and change
their callers to provide an error reporting context.
I hope the design is clear enough from the comments in serf.h,
serf_private.h and src/error_callbacks.c.
Suggestions for improvement welcome. If we decide that this is the right
way forward, I'll continue with he SSL code update and add some tests to
verify that the errors get propagated correctly.
-- Brane