Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 676da73

Browse files
Jinming-Huvinjiang
authored andcommitted
Fix a bug where timeout for single-thread download doesn't work
1 parent 8e3ca89 commit 676da73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.WindowsAzure.Storage/src/cloud_blob.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ namespace azure { namespace storage {
836836
}
837837
else
838838
{
839-
return download_single_range_to_stream_async(target, offset, length, condition, options, context, true, cancellation_token, timer_handler).then([timer_handler/*timer_handler MUST be captured*/]() {});;
839+
return download_single_range_to_stream_async(target, offset, length, condition, options, context, true, timer_handler->get_cancellation_token(), timer_handler).then([timer_handler/*timer_handler MUST be captured*/]() {});;
840840
}
841841
}
842842

0 commit comments

Comments
 (0)