Fix calling HTTPRequest::getReply() if the response is missing
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 12 Oct 2020 11:38:32 +0000 (13:38 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 12 Oct 2020 11:38:32 +0000 (13:38 +0200)
commit11751baacedd89e20f60eb7d9c78d609c6a2cd01
treec47382506f0cd0950ad241904531e459ea72a47c
parentfef627b48c15102613d27ec34466f08c995743cc
Fix calling HTTPRequest::getReply() if the response is missing

The only case where the response might be missing is if Guzzle fails to connect
to the remote server (ConnectException). Return default data that is consistent
with 5.2 in this case.
wcfsetup/install/files/lib/util/HTTPRequest.class.php