Mercurial > audlegacy-plugins
comparison src/curl/curl.c @ 498:6779a84fbf10 trunk
[svn] - ignore CURLE_PARTIAL_FILE, as this can happen in some cases and is
described as normal in the curl documentation.
author | nenolod |
---|---|
date | Sun, 21 Jan 2007 20:09:18 -0800 |
parents | 1da75c7d37a3 |
children | 1d81ea250dce |
comparison
equal
deleted
inserted
replaced
497:1da75c7d37a3 | 498:6779a84fbf10 |
---|---|
403 update_length(handle); | 403 update_length(handle); |
404 // We expect to get CURLE_WRITE_ERROR if we cancel. | 404 // We expect to get CURLE_WRITE_ERROR if we cancel. |
405 // We get CURLE_GOT_NOTHING if we send a HEAD request to a shoutcast server. | 405 // We get CURLE_GOT_NOTHING if we send a HEAD request to a shoutcast server. |
406 // We get CURLE_HTTP_RANGE_ERROR if we try to use range with shoutcast. | 406 // We get CURLE_HTTP_RANGE_ERROR if we try to use range with shoutcast. |
407 if (result != CURLE_OK && result != CURLE_WRITE_ERROR && | 407 if (result != CURLE_OK && result != CURLE_WRITE_ERROR && |
408 result != CURLE_GOT_NOTHING && result != CURLE_HTTP_RANGE_ERROR) | 408 result != CURLE_GOT_NOTHING && result != CURLE_HTTP_RANGE_ERROR && |
409 result != CURLE_PARTIAL_FILE) | |
409 { | 410 { |
410 g_print("Got curl error %d\n", result); | 411 g_print("Got curl error %d\n", result); |
411 handle->failed = 1; | 412 handle->failed = 1; |
412 } | 413 } |
413 if (DEBUG_CONNECTION) | 414 if (DEBUG_CONNECTION) |