Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
41a4602c
Commit
41a4602c
authored
Jul 10, 2018
by
Nick Craver
Committed by
Nick Craver
Jul 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few await safeguards
parent
4b50c4f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
PhysicalBridge.cs
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
+1
-1
ServerEndPoint.cs
StackExchange.Redis/StackExchange/Redis/ServerEndPoint.cs
+1
-1
No files found.
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
View file @
41a4602c
...
...
@@ -247,7 +247,7 @@ internal async Task OnConnectedAsync(PhysicalConnection connection, TextWriter l
Trace
(
"OnConnected"
);
if
(
physical
==
connection
&&
!
isDisposed
&&
ChangeState
(
State
.
Connecting
,
State
.
ConnectedEstablishing
))
{
await
ServerEndPoint
.
OnEstablishingAsync
(
connection
,
log
);
await
ServerEndPoint
.
OnEstablishingAsync
(
connection
,
log
)
.
ForAwait
()
;
}
else
{
...
...
StackExchange.Redis/StackExchange/Redis/ServerEndPoint.cs
View file @
41a4602c
...
...
@@ -468,7 +468,7 @@ private async Task OnEstablishingAsyncAwaited(PhysicalConnection connection, Tas
{
try
{
await
handshake
;
await
handshake
.
ForAwait
()
;
}
catch
(
Exception
ex
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment