]> git.wh0rd.org - tt-rss.git/commit
fetch_file_contents: improve error handling
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Mon, 30 Oct 2017 10:13:10 +0000 (13:13 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Mon, 30 Oct 2017 10:13:10 +0000 (13:13 +0300)
commit9d930af9e109884f219a2254dc444c7a943b1e6e
treee0a54fb305e83323c848cf216d2def364b816120
parent8716ec20d6365c2dae8012ce7c1d874594e488a1
fetch_file_contents: improve error handling

1. if request fails get error string from http  response status line
2. do not override http error with possible CURL/php specific last error
3. fix silent php error generated while processing response headers to get last modified value
classes/rssutils.php
include/functions.php