[sword-svn] r2924 - trunk/src/mgr
scribe at crosswire.org
scribe at crosswire.org
Mon Jul 29 06:55:38 MST 2013
Author: scribe
Date: 2013-07-29 06:55:38 -0700 (Mon, 29 Jul 2013)
New Revision: 2924
Modified:
trunk/src/mgr/curlhttpt.cpp
Log:
turned on CURLOPT_FAILONERROR so we fail on 404s
Modified: trunk/src/mgr/curlhttpt.cpp
===================================================================
--- trunk/src/mgr/curlhttpt.cpp 2013-07-28 20:05:37 UTC (rev 2923)
+++ trunk/src/mgr/curlhttpt.cpp 2013-07-29 13:55:38 UTC (rev 2924)
@@ -136,6 +136,7 @@
if (!passive)
curl_easy_setopt(session, CURLOPT_FTPPORT, "-");
curl_easy_setopt(session, CURLOPT_NOPROGRESS, 0);
+ curl_easy_setopt(session, CURLOPT_FAILONERROR, 1);
curl_easy_setopt(session, CURLOPT_PROGRESSDATA, statusReporter);
curl_easy_setopt(session, CURLOPT_PROGRESSFUNCTION, my_httpfprogress);
curl_easy_setopt(session, CURLOPT_DEBUGFUNCTION, myhttp_trace);
More information about the sword-cvs
mailing list