]> git.ipfire.org Git - thirdparty/cups.git/commit
Log result of httpGetHostname BEFORE closing the connection
authorRose <83477269+AtariDreams@users.noreply.github.com>
Thu, 1 Jun 2023 15:33:39 +0000 (11:33 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Tue, 6 Jun 2023 16:42:31 +0000 (12:42 -0400)
commitffd290b4ab247f82722927ba9b21358daa16dbf1
tree7cd958ded8987bcf94ee57e7197d64577911ba36
parent8ba52d1a9c0dc73d2be7fbe354e397fb9aa60f9d
Log result of httpGetHostname BEFORE closing the connection

httpClose frees the memory of con->http. This is problematic because httpGetHostname then tries to access the memory it points to.

We have to log the hostname first.
scheduler/client.c