X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FSystem.Net.Sockets%2FChangeLog;h=e3b6399a178f055bdfcc9907f931c8fda76c7dd3;hb=bf5947a0fd2b523c30833605ee69b2b041aa43f4;hp=dcbe4fc858c5ffce62cf9595473b52e7d77fa037;hpb=e5fe6c826dda8b351c309ba62d0032cc0bcd926e;p=mono.git diff --git a/mcs/class/System/System.Net.Sockets/ChangeLog b/mcs/class/System/System.Net.Sockets/ChangeLog index dcbe4fc858c..e3b6399a178 100644 --- a/mcs/class/System/System.Net.Sockets/ChangeLog +++ b/mcs/class/System/System.Net.Sockets/ChangeLog @@ -1,3 +1,217 @@ +2010-04-21 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Add check for elevated permissions on + sockets (unrestricted). Add handling of new (SL4) + SocketClientAccessPolicyProtocol and pass this option to the + CrossDomainPolicyManager + +2010-03-23 Gonzalo Paniagua Javier + + * Socket.cs: error handling was totally broken in the synchronous + Connect() call. Fixes bug #590488. + +2010-03-19 Sebastien Pouliot + + * Socket.cs: Remove some NET_2_0 defines (using) and add a few + MOONLIGHT defines needed to reuse Socket in the client http stack + * Socket_2_1.cs: Remove some MOONLIGHT defines + * SocketAsyncEventArgs.cs: For Moonlight check policy if outside + System.dll (the client stack use sockets with it's own web + xdomain policy) + +2010-03-16 Jb Evain + + * Socket_2_1.cs, SocketAsyncEventArgs.cs: use MOONLIGHT symbol to + disambiguate MonoTouch and Moonlight code. + +2010-03-10 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Remove the use of reflection to check + xdomain poilicy on sockets (since the policy code now resides in + System.Net.dll) + +2010-01-29 Carlos Alberto Cortez + + * NetworkStream.cs: Our explicit impl of IDisposable.Dispose belongs + to 1.0/1.1 only. Also move the call to GC.SupressFinalize to + Dispose(bool), as expected and as done by other Stream children + implementing a destructor. + Fixes #564637. + +2010-01-21 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Apply Gendarme's ProtectCallToEventDelegatesRule + +2009-12-04 Sebastien Pouliot + + * System.Net.Sockets/SocketAsyncEventArgs.cs: Implement + ConnectByNameError property for Moonlight 3 (and fx 4.0) + +2009-11-10 Gonzalo Paniagua Javier + + * Socket_2_1.cs: throw when shutting down a socket that is not + connected. Don't linger if the socket is not connected. + +2009-11-03 Gonzalo Paniagua Javier + + * Socket_2_1.cs: stop any blocking thread before closing the socket. + +2009-11-03 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Set error back to SocketError.Success + once CheckEndPoint succeed. + [Fix bug #549586] + +2009-10-21 Gonzalo Paniagua Javier + + * Socket.cs: implement *SendFile(). + +2009-09-28 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Default SocketError.AccessDenied on + Connect in case none of the DnsEndPoint provides an adequate + address (family). + +2009-09-27 Gonzalo Paniagua Javier + + * Socket_2_1.cs: Close(int timeout) blocks up to timeout ms if there's + pending data to be written to the socket. If there's no pending data, + it closes and returns right away. Instead of using Timer and then + doing a 'hard' close(), we set the linger option for the socket. + +2009-09-27 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Don't use Socket.Poll for NET_2_1. + Throw NIE for use of BufferList in Receive. + * Socket.cs: Move Close(int) to Socket_2_1.cs. Remove NET_2_1 + defines since the file is not used by Moonlight + * Socket_2_1.cs: Add Close(int) from Socket. Define out Poll + and Blocking. + +2009-09-26 Sebastien Pouliot + + * SocketAsyncEventArgs.cs: Fix paramater validations and default + values + +2009-09-23 Sebastien Pouliot + + * Socket_2_1.cs: Remove NET_2_1 socket policy checks from here. + * SocketAsyncEventArgs.cs: Support DnsEndPoint correctly (NET_2_1 but + that will be useful for NET_4_0 soon). Add socket policy checks here + since it could be called several times to connect to a host. + +2009-09-23 Gonzalo Paniagua Javier + + * NetworkStream.cs: after disposing the stream, CanRead/CanWrite + return false. + +2009-09-19 Gonzalo Paniagua Javier + + * SocketAsyncEventArgs.cs: fix check for non-null. + Fixes bug #516455. + +2009-07-14 Sebastien Pouliot + + * Socket_2_1.cs, SocketAsyncEventArgs.cs: A bit more NET_2_1 defines + to help the tuner remove some extra types for moonlight. + +2009-06-28 Gert Driesen + + * Socket.cs: Modified some argument names to match MS. Moved disposed + check before argument checks in Receive. Use SocketError.InvalidArgument + instead of using magic numbers. Added back comments that was + accidentally removed in my previous commit. + * Socket_2_1.cs: Modified some argument names to match MS. + +2009-06-28 Gert Driesen + + * Socket.cs: In GetSocketOption, throw SocketException when (byte []) + option value is null. Use SocketError fields instead of using "magic" + number. In SetSocketOption (SocketOptionLevel, SocketOptionName, object) + only accept Linger, AddMembership, DropMembership and verify option + value. + * MulticastOption.cs: Added argument checks. Save interfaceIndex that is + passed to .ctor, and removed MonoTODO. Renamed arguments to match MS. + Reset InterfaceIndex when LocalAddress is modified, and reset + LocalAddress when InterfaceIndex is modified. + * UdpClient.cs: Modified exception to more closely match MS. Fixed + (int, AddressFamily) .ctor to construct IPv6 endpoint when family is + InterNetworkV6. Added null check for multicastAddr to (IPAddress) + JoinMulticastGroup overload. In (int, IPAddress) and (IPAddress, + IPAddress) overloads of JoinMulticastGroup throw SocketException when + client is IPv4. Added null check for multicastAddr to (IPAddress, int), + overload, and moved JoinMulticastGroup call after argument checks. + * IPv6MulticastOption.cs: Renamed argument names to match MS. Added + null check to set_Group. Added range check to set_InterfaceIndex. + +2009-06-27 Gonzalo Paniagua Javier + + * Socket.cs: turn WSAEINVAL into ArgumentException. + +2009-06-26 Gonzalo Paniagua Javier + + * Socket.cs: MS throws a SocketException in the byte[] overload when + the value is null. + +2009-05-22 Sebastien Pouliot + + * Socket_2_1.cs: Do not throw a SecurityException if the security + policy check fails in NET_2_1 but set the SocketError to AccessDenied + ensure the EndPoint has a valid policy before connecting. + * SocketAsyncEventArgs.cs: Don't recurse endlessly in SendCallback + and ReceiveCallback if the socket is not connected. Check for + AccessDenied in ConnectCallback (needed for the security policy + check in NET_2_1). + +2009-05-14 Sebastien Pouliot + + * Socket_2_1.cs: Add ConnectAsync support for NET_2_1 which will + ensure the EndPoint has a valid policy before connecting. + * SocketAsyncEventArgs.cs: Add support for IList> + when sending. Add ConnectSocket for NET_2_1 + +2009-05-11 Gonzalo Paniagua Javier + + * TcpClient.cs: + * Socket.cs: + * UdpClient.cs: use GetHostAddresses() instead of Resolve or + GetHostEntry. + +2009-05-11 Gonzalo Paniagua Javier + + * UdpClient.cs: if possible, avoid DNS lookups when the host name is + an IP address. Related to bug #502866. + +2009-04-30 Gonzalo Paniagua Javier + + * Socket.cs: return the last error if a connect to multiple addresses + fails. + +2009-04-22 Sebastien Pouliot + + * Socket_2_1.cs: Use old-n-simple CheckProtocolSupport to implement + OSSupportsIP[v4|v6] for Moonlight (NET_2_1 only) so we can avoid + including a bunch of types (22) from System.Net.NetworkInformation + and drop the number of [SecuritySafeCritical] methods to audit (the + same 22) and [SecurityCritical] (8) beside getting a smaller + System.Net.dll assembly :) + +2009-04-21 Gonzalo Paniagua Javier + + * Socket.cs: End* methods can only be called once per IAsyncResult. + Bug #466031 fixed. + +2009-04-09 Sebastien Pouliot + + * Socket.cs: Split socket class into two files (this one and the + new Socket_2_1.cs). This let us remove (some) existing #if in the + sources and avoid (a lot) of new ones for Moonlight. + * Socket_2_1.cs: Just enough of socket for NET_2_1. This helps + the tuner not to bring a lot of extra stuff (some visible) + into Moonlight. + * SocketAsyncEventArgs.cs: Ifdef out some cases for NET_2_1 so + Moonlight can use it's own (smaller) SocketAsyncOperation enum + 2009-02-17 Gonzalo Paniagua Javier * Socket.cs: instead of clearing the sockets form the output and then