Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74a2c1b

Browse files
Fix async reading in FbStreamingRestore.
1 parent 410bdbf commit 74a2c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/FirebirdSql.Data.FirebirdClient/Services/FbStreamingRestore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async Task ReadInputAsync(CancellationToken cancellationToken = default)
179179
if (requestedLength > 0)
180180
{
181181
var data = new byte[requestedLength];
182-
var read = InputStream.Read(data, 0, requestedLength);
182+
var read = awaitInputStream.ReadAsync(data, 0, requestedLength).ConfigureAwait(false);
183183
if (read > 0)
184184
{
185185
Array.Resize(ref data, read);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /