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
4ac77037
Commit
4ac77037
authored
Jul 23, 2018
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
naming is hard
parent
40c5d21d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
RedisConnectionHandler.cs
KestrelRedisServer/RedisConnectionHandler.cs
+1
-1
RespServer.cs
StackExchange.Redis.Server/RespServer.cs
+2
-2
No files found.
KestrelRedisServer/RedisConnectionHandler.cs
View file @
4ac77037
...
...
@@ -9,6 +9,6 @@ public class RedisConnectionHandler : ConnectionHandler
private
readonly
RespServer
_server
;
public
RedisConnectionHandler
(
RespServer
server
)
=>
_server
=
server
;
public
override
Task
OnConnectedAsync
(
ConnectionContext
connection
)
=>
_server
.
RunClient
(
connection
.
Transport
);
=>
_server
.
RunClient
Async
(
connection
.
Transport
);
}
}
StackExchange.Redis.Server/RespServer.cs
View file @
4ac77037
...
...
@@ -188,7 +188,7 @@ protected int TcpPort()
private
Action
<
object
>
_runClientCallback
;
// KeepAlive here just to make the compiler happy that we've done *something* with the task
private
Action
<
object
>
RunClientCallback
=>
_runClientCallback
??
(
_runClientCallback
=
state
=>
GC
.
KeepAlive
(
RunClient
((
IDuplexPipe
)
state
)));
(
_runClientCallback
=
state
=>
GC
.
KeepAlive
(
RunClient
Async
((
IDuplexPipe
)
state
)));
public
void
Listen
(
EndPoint
endpoint
,
...
...
@@ -295,7 +295,7 @@ protected virtual void Dispose(bool disposing)
}
}
public
async
Task
RunClient
(
IDuplexPipe
pipe
)
public
async
Task
RunClient
Async
(
IDuplexPipe
pipe
)
{
Exception
fault
=
null
;
RedisClient
client
=
null
;
...
...
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