* ServicePoint now uses an idle timer to close idle connections.
* WebConnectionGroup has been mostly rewritten to use a linked
list of open connections and their idle times.
This fixes both the problem that we were leaking sockets and
that we were not reusing existing connections.
* ServicePoint now correctly keeps track of the number of open
connections.
* ServicePointManager now uses the correct default idle time
of 100 seconds (previously 15 minutes).
* WebConnection uses the new WebConnectionGroup's busy logic
to correctly flag connections as busy / reusable.
* System.Net/CookieParser.cs: Add more common/shared code
* System.Net/HttpWebResponse.cs: Move out CookieParser class and some
utility methods so they can be shared with Moonlight http client stack
* System.dll.sources:
* mobile_System.dll.sources:
* moonlight_shared_System.dll.sources:
Add new CookieParser.cs to the build
* System.dll.sources:
* monotouch_System.dll.sources:
* System20.csproj: add Mono.Http/NtmlClient.cs
* Mono.Http/ChangeLog: New file.
* Mono.Http/NtlmClient.cs: copied from Mono.Http.
* System.Net/NtlmClient.cs: use Mono.Http.NtmlClient from System
instead of dynamically loading the one in Mono.Http.
svn path=/trunk/mcs/; revision=140690
* Update unit tests
* Moved BlockingCollection and Barrier in System.dll (with assorted fixes)
* Fix wrong signature in TaskFactory<T>
* Update .dll.sources files
* Move AggregateException in System namespace
* Remove While in Parallel
* Correct Wait(CancellationToken) signature in CountdownEvent
* update corlib.dll.sources
svn path=/trunk/mcs/; revision=139727
* WeakObjectWrapper.cs, WeakObjectWrapperComparer.cs: added - used
by TypeDescriptor for storage of type description providers.
* TypeDescriptor.cs: implemented part of the 2.0+ API which deals
with adding/removing/getting type description providers.
* AttributeCollection.cs: do not throw NREX when attrList is
null in Count.
2009-06-22 Marek Habersack <[email protected]>
* TypeDescriptorTests.cs: added tests for 2.0+ APIs which deal
with adding/removing/getting type description providers.
svn path=/trunk/mcs/; revision=136634
2009-04-09 Sebastien Pouliot <[email protected]>
* 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
In .:
2009-04-09 Sebastien Pouliot <[email protected]>
* System.dll.sources: Add System.Net.Sockets/Socket_2_1.cs
svn path=/trunk/mcs/; revision=131392
* NetworkInterface.cs: implemented support for Linux. Parts
contributed by Eric Butler ([email protected]), thanks!
* GatewayIPAddressInformationCollection.cs,
IPInterfaceProperties.cs, IPAddressInformationCollection.cs: added
support for Linux. Patch contributed by Eric Butler
([email protected]), thanks!
* IPv4InterfaceProperties.cs: implemented support for Linux.
* LinuxNetworkInterfaceMarshal.cs: added. Contains a set of
Linux-specific structures required for accessing the network
information. Patch contributed by Eric Butler
([email protected]), thanks!
* MulticastIPAddressInformation.cs: added support for Linux
multicast information. Patch contributed by Eric Butler
([email protected]), thanks!
* IPv4InterfaceStatistics.cs: use the parent IfacePath to get the
path to the interface description file.
* UnicastIPAddressInformation.cs: added stubs for
LinuxUnicastIPAddressInformation. Patch contributed by Eric Butler
([email protected]), thanks!
* Ping.cs: Use /bin/ping when running as non-root user
(implementation by Jackson Harper <[email protected]>) or use
raw sockets if running as root or if the current process has the
CAP_NET_RAW Linux capability set while running as an unprivileged
user.
svn path=/trunk/mcs/; revision=107890