Add missing set_in_callback around callback. #3837
I noticed that after upgrading to curl 7.65.0, netsurf isn't working with HTTP redirects, and I bisected it down to this commit.
After some investigation, it looks like this is because netsurf is calling
I guess this is the sort of thing this commit is intended to prevent? Just wanted to check before submitting a netsurf bug report.
Yes that was the intention, please refer to the discussion in #2302.