[svn r700] Reduced the quantity of max retries number on file_read.
1.1 --- a/gmyth/src/gmyth_file_transfer.c Fri May 18 21:28:42 2007 +0100
1.2 +++ b/gmyth/src/gmyth_file_transfer.c Fri May 18 22:45:49 2007 +0100
1.3 @@ -659,7 +659,7 @@
1.4 * the remote file will be stored.
1.5 * @param size The block size, in bytes, to be requested from a remote file.
1.6 * @param read_unlimited Tells the backend to read indefinitely (LiveTV), or only
1.7 - * gets the actual size
1.8 + * gets the actual size
1.9 *
1.10 * @return The actual block size (in bytes) returned by REQUEST_BLOCK message,
1.11 * or the error code.
1.12 @@ -730,8 +730,7 @@
1.13 gmyth_string_list_append_char_array (strlist, "REQUEST_BLOCK");
1.14 gmyth_string_list_append_int (strlist, size - total_read);
1.15
1.16 - /* 200??? Is this a TV or a HQ data traffic? */
1.17 - guint iter_count = 4;
1.18 + guint iter_count = 1;
1.19
1.20 do
1.21 {
1.22 @@ -834,12 +833,14 @@
1.23 (transfer))) !=
1.24 0)
1.25
1.26 + /* releasing context got at this function starting... */
1.27 _control_release_context (transfer);
1.28 ret =
1.29 gmyth_file_transfer_open (transfer,
1.30 g_strrstr (prog_info->pathname->
1.31 str, "/"));
1.32 _control_acquire_context (transfer, TRUE);
1.33 + /* acquiring context released at this function stopping... */
1.34
1.35 if (prog_info != NULL)
1.36 g_object_unref (prog_info);