Commit Graph
13 Commits
Author SHA1 Message Date
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier ec49116c9e 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* System.Net/HttpWebRequest.cs: added 3 missing properties for 1.1. They
	are not used yet.

	* System.Net/NetConfig.cs: added MaxResponseHeadersLength field.

	* System.Net/ServicePoint.cs:
	* System.Net/ServicePointManager.cs: added missing properties for 1.1.

	* System.Net.Configuration/NetConfigurationHandler.cs: process the
	httpWebRequest node too. Better error checking.

svn path=/trunk/mcs/; revision=27211
2004-05-13 02:26:55 +00:00
Gonzalo Paniagua Javier ce62c7590a Removed Consoles and ^Ms
svn path=/trunk/mcs/; revision=27209
2004-05-13 02:05:19 +00:00
Lluis Sanchez 5b6c491d20 * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
the lock is released in case of exception (for example, a
	ThreadAbortException). This also "fixes" bug #52417.
	Beware, this requires a runtime update (due to a bug in Monitor.Exit).
	* ServicePoint.cs: Changed method from internal to private, since it is not
	called from outside the class.

svn path=/trunk/mcs/; revision=24704
2004-03-29 12:17:03 +00:00
Gonzalo Paniagua Javier 167ad12050 2004-02-26 Gonzalo Paniagua Javier <[email protected]>
* ServicePoint.cs: SendContinue is always false for HTTP/1.0

	* WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
	calling more the ContinueDelegate more than once when we get the
	headers in several packets.

	* WebConnectionStream.cs: removed call to WaitForContinue.

svn path=/trunk/mcs/; revision=23477
2004-02-26 01:35:43 +00:00
Sebastien Pouliot 4024cd5c4c 2004-02-18 Sebastien Pouliot <[email protected]>
* SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
	Default and Ssl2 to NET_1_2 profile. Enum is now internal for NET_1_0
	profile (as we need it for SslClientStream).
	* ServicePoint.cs: Added internal SetCertificates(client,server).
	* ServicePointManager.cs: Added CheckCertificateRevocationList and
	CheckCertificateRevocationList static properties (public in 1.1,
	internal for 1.0).
	* WebConnection.cs: Dynamically creates a SslClientStream (from
	Mono.Security assembly) in case of https. Changed NetworkStream to
	Stream everywhere.

svn path=/trunk/mcs/; revision=23225
2004-02-18 17:58:22 +00:00
Gonzalo Paniagua Javier ed924f816b 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
	don't know the server version or it's 1.0.

	* ServicePoint.cs: added SetVersion.

	* WebAsyncResult.cs: remove ChunkAsyncResult.

	* WebConnection.cs: set the ServicePoint version when getting a response
	from the server.

	* WebConnectionStream.cs: when posting chunked content, send the head,
	body and trailer of the chunk at once instead of doing 3 separate
	writes, which may cause troubles.

svn path=/trunk/mcs/; revision=23223
2004-02-18 17:14:37 +00:00
Gonzalo Paniagua Javier d3f150312d 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
	* System.Net/ServicePointManager.cs: this is the one that reads config.
	* System.Net/WebConnectionGroup.cs: don't read config here.
	* System.Net/WebConnection.cs: added the queue again. Launch queued
	requests on error.
	* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
	is case insensitive now.

svn path=/trunk/mcs/; revision=18788
2003-10-09 03:31:08 +00:00
Jerome Laban b9828aaebf 2003-07-14 Jerome Laban <[email protected]>
* ServicePoint.cs: Removed Connect and GetEndPoint methods.
        Removed reverse resolution when uri is literal IP address.
        * WebConnection.cs: IPv6 compatibility update: Try to connect
        to all addresses returned by IPHostEntry.
        * WebConnectionGroup.cs: Removed unused parameter.

svn path=/trunk/mcs/; revision=16209
2003-07-14 15:09:47 +00:00
Gonzalo Paniagua Javier ddf5ef623a 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
	is known not to respond to that.

	* ServicePoint.cs: added SendContinue property.

	* WebConnection.cs: only wait 2 seconds for a continue reply. If it
	timeouts, set SendContinue to false and proceeed sending data.

	* WebConnectionStream.cs: if 100-continue is not received and instead we
	get a 417 or anything else, don't send the data.

	* WebClient.cs: implemented all missing properties and methods except
	UploadFile.

svn path=/trunk/mcs/; revision=15180
2003-06-08 13:47:28 +00:00
Gonzalo Paniagua Javier cc8432099d Reworked HttpWebRequest and related classes.
svn path=/trunk/mcs/; revision=15149
2003-06-06 06:57:36 +00:00
Lawrence Pit afc721a8ae * WebProxy.cs: added, implemented
* ServicePoint.cs: implemented most
	* ServicePointManager.cs: implemented
	* HttpWebRequest.cs: started implementation
	* HttpWebResponse.cs: improved disposable routines
	* FileWebRequest.cs: slight improvement of Close method

svn path=/trunk/mcs/; revision=4793
2002-05-20 18:40:55 +00:00
Lawrence Pit c24932898e 2002-05-06 Lawrence Pit <[email protected]>
* WebRequest.cs: added
	* WebResponse.cs: implemented
	* WebException.cs: implemented
	* WebHeaderCollection.cs: added
	* HttpVersion.cs: implemented
	* HttpContinueDelegate.cs: added
	* IWebProxy.cs: added
	* IWebRequestCreate.cs: added
	* ICertificatePolicy.cs: added
	* ServicePoint.cs: stubbed
	* ServicePointManager.cs: stubbed
	* CookieContainer.cs: added
	* Authorization.cs: implemented

svn path=/trunk/mcs/; revision=4315
2002-05-05 18:37:57 +00:00