]> granicus.if.org Git - curl/commit
threaded-resolver: shutdown the resolver thread without error message
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Feb 2019 19:34:36 +0000 (20:34 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Mar 2019 08:31:34 +0000 (09:31 +0100)
commit754ae103989a6ad0869d23a6a427d652b5b4a2fe
tree6e1237eb7e8b55e01e1cb35f4c15c5a08ac20b4a
parent8f105b053445eafddbbc572c53799fb39702eaaf
threaded-resolver: shutdown the resolver thread without error message

When a transfer is done, the resolver thread will be brought down. That
could accidentally generate an error message in the error buffer even
though this is not an error situationand the transfer would still return
OK.  An application that still reads the error buffer could find a
"Could not resolve host: [host name]" message there and get confused.

Reported-by: Michael Schmid
Fixes #3629
Closes #3630
lib/asyn-thread.c