You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sancho Godinho
OP
— 25.11.2024 12:35
I am making a certain site in which I need error handling requiring access to header data. How can I achieve this?
What is the feature you are proposing to solve the problem?
pass the original header to the error handler as second argument
Jarred
careful with the PR, it might be difficult to do consistently because it’s easy to free the request object too early
That was the main reason we didn’t do this. Making sure we don’t cause a either a use after free or a memory leak might be difficult to do in each scenario
But I don’t think we actually tried
so might be imagining it to be harder than it is
I'm gonna considering to pass a less populated object only holding URI and Headers if the original object is too complicated to pass
What alternatives have you considered?
Assign me to this topic please
The text was updated successfully, but these errors were encountered:
What is the problem this feature would solve?
https://discord.com/channels/876711213126520882/1310569549338247178
What is the feature you are proposing to solve the problem?
pass the original header to the error handler as second argument
I'm gonna considering to pass a less populated object only holding URI and Headers if the original object is too complicated to pass
What alternatives have you considered?
Assign me to this topic please
The text was updated successfully, but these errors were encountered: