Skip to content

Commit 751bd91

Browse files
committed
Change naming convension
1 parent b86cfae commit 751bd91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Enyim.Caching/Memcached/AsyncSocketHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,12 @@ private void BeginReceive()
269269
{
270270
this.readInProgressEvent.Reset();
271271

272-
if (this.socket.socket.ReceiveAsync(this.readEvent))
272+
if (this.socket._socket.ReceiveAsync(this.readEvent))
273273
{
274274
// wait until the timeout elapses, then abort this reading process
275275
// EndREceive will be triggered sooner or later but its timeout
276276
// may be higher than our read timeout, so it's not reliable
277-
if (!readInProgressEvent.WaitOne(this.socket.socket.ReceiveTimeout))
277+
if (!readInProgressEvent.WaitOne(this.socket._socket.ReceiveTimeout))
278278
this.AbortReadAndTryPublishError(false);
279279

280280
return;
@@ -293,7 +293,7 @@ void AsyncReadCompleted(object sender, SocketAsyncEventArgs e)
293293
private void AbortReadAndTryPublishError(bool markAsDead)
294294
{
295295
if (markAsDead)
296-
this.socket.isAlive = false;
296+
this.socket._isAlive = false;
297297

298298
// we've been already aborted, so quit
299299
// both the EndReceive and the wait on the event can abort the read

0 commit comments

Comments
 (0)