projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a61d8
)
Set Count to 0 as well as BytesTransferred when reusing a SocketAsyncEventArgs.
author
ualtinok
<ufukaltinok@gmail.com>
Wed, 4 May 2011 14:41:44 +0000
(07:41 -0700)
committer
ualtinok
<ufukaltinok@gmail.com>
Wed, 4 May 2011 14:41:44 +0000
(07:41 -0700)
mcs/class/System/System.Net.Sockets/Socket_2_1.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System/System.Net.Sockets/Socket_2_1.cs
b/mcs/class/System/System.Net.Sockets/Socket_2_1.cs
index 153a43eb0b9a23085cb8f2502d2a224b76f295bb..c04bb8b7d2b4414ac5a131d3d8090e278c47971b 100644
(file)
--- a/
mcs/class/System/System.Net.Sockets/Socket_2_1.cs
+++ b/
mcs/class/System/System.Net.Sockets/Socket_2_1.cs
@@
-495,6
+495,7
@@
namespace System.Net.Sockets {
args.SetLastOperation (async_op);
args.SocketError = SocketError.Success;
args.BytesTransferred = 0;
+ args.Count = 0;
}
public void Accept ()