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
c941d901
Commit
c941d901
authored
Jul 08, 2016
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix background connection exception handling in Core
parent
fafb8cac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
StackExchange.Redis.Core.sln
StackExchange.Redis.Core.sln
+1
-0
PhysicalConnection.cs
...kExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
+4
-0
No files found.
StackExchange.Redis.Core.sln
View file @
c941d901
...
@@ -11,6 +11,7 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "StackExchange.Redis.Tests",
...
@@ -11,6 +11,7 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "StackExchange.Redis.Tests",
EndProject
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AD17044-6BFF-4750-9AC2-2CA466375F2A}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AD17044-6BFF-4750-9AC2-2CA466375F2A}"
ProjectSection(SolutionItems) = preProject
ProjectSection(SolutionItems) = preProject
global.json = global.json
NuGet.Config = NuGet.Config
NuGet.Config = NuGet.Config
EndProjectSection
EndProjectSection
EndProject
EndProject
...
...
StackExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
View file @
c941d901
...
@@ -32,6 +32,10 @@ private static Action<Task<int>> EndReadFactory(PhysicalConnection physical)
...
@@ -32,6 +32,10 @@ private static Action<Task<int>> EndReadFactory(PhysicalConnection physical)
{
{
return
result
=>
return
result
=>
{
// can't capture AsyncState on SocketRead, so we'll do it once per physical instead
{
// can't capture AsyncState on SocketRead, so we'll do it once per physical instead
if
(
result
.
IsFaulted
)
{
GC
.
KeepAlive
(
result
.
Exception
);
}
try
try
{
{
physical
.
Multiplexer
.
Trace
(
"Completed asynchronously: processing in callback"
,
physical
.
physicalName
);
physical
.
Multiplexer
.
Trace
(
"Completed asynchronously: processing in callback"
,
physical
.
physicalName
);
...
...
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