rpki-client keep http connection info around

2022-11-02 Thread Claudio Jeker
Job's diff made me realise that clearing the connection info (conn->res) makes error reporting worse. It is not like we save lots of memory by doing so. So do not call freeaddrinfo() in http_connect_done(), now http_free() will free res0 before freeing conn. -- :wq Claudio Index: http.c

Re: rpki-client keep http connection info around

2022-11-02 Thread Theo Buehler
On Wed, Nov 02, 2022 at 11:55:12AM +0100, Claudio Jeker wrote: > Job's diff made me realise that clearing the connection info (conn->res) > makes error reporting worse. It is not like we save lots of memory by > doing so. So do not call freeaddrinfo() in http_connect_done(), now > http_free() will