File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ syntax: regexp
16
16
^wix/dotnet-client-merge-module\.wxs$
17
17
^wix/dotnet-client-product\.wxs$
18
18
^wix/License\.rtf$
19
- ~$
20
19
20
+ ~$
Original file line number Diff line number Diff line change @@ -81,13 +81,9 @@ public SocketFrameHandler_0_9(AmqpTcpEndpoint endpoint)
81
81
// disable Nagle's algorithm, for more consistently low latency
82
82
m_socket . NoDelay = true ;
83
83
84
- Stream netstream ;
85
-
86
- if ( ! endpoint . Ssl . Enabled ) {
87
- netstream = m_socket . GetStream ( ) ;
88
- } else {
89
- netstream = SslHelper . TcpUpgrade ( m_socket . GetStream ( ) , endpoint . Ssl ) ;
90
- }
84
+ Stream netstream = endpoint . Ssl . Enabled ?
85
+ SslHelper . TcpUpgrade ( m_socket . GetStream ( ) , endpoint . Ssl ) :
86
+ m_socket . GetStream ( ) ;
91
87
92
88
m_reader = new NetworkBinaryReader ( netstream ) ;
93
89
m_writer = new NetworkBinaryWriter ( netstream ) ;
You can’t perform that action at this time.
0 commit comments