Commit Graph
20 Commits
Author SHA1 Message Date
Martin Baulig c30f3763a3 Revert "Fix WebProxy.BypassProxyOnLocal logic."
This reverts commit 3f7ad8f457.

WebProxy.BypassProxyOnLocal is really broken!  There seems to be no
way of actually bypassing a proxy on local connections.
2014-05-23 13:13:48 +02:00
Martin Baulig 3f7ad8f457 Fix WebProxy.BypassProxyOnLocal logic. 2014-05-23 10:22:44 +02:00
Miguel de Icaza f48ceb9860 [System] Removal of the NET_2_0 in the source code
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
2012-06-02 13:16:40 -04:00
Gonzalo Paniagua Javier 604d5faa0b More StringComparison.Ordinal
Use StringComparison.Ordinal when calling IndexOf to find the index of
	an ASCII string.
2010-10-31 17:23:18 -04:00
Gonzalo Paniagua Javier 28da946864 2009-02-03 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: use TryParse when checking for a localhost IP.


svn path=/trunk/mcs/; revision=125499
2009-02-03 10:08:38 +00:00
Dick Porter fa277dafe1 2007-06-19 Dick Porter <[email protected]>
* AuthenticationManager.cs: 
	* IWebProxyScript.cs: 
	* Authorization.cs: 
	* Cookie.cs: 
	* CookieException.cs: 
	* CredentialCache.cs: 
	* FileWebRequest.cs: 
	* WebRequest.cs: 
	* FileWebResponse.cs: 
	* WebResponse.cs: 
	* FtpWebRequest.cs: 
	* HttpWebRequest.cs: 
	* DecompressionMethods.cs: 
	* HttpWebResponse.cs: 
	* ProtocolViolationException.cs: 
	* ServicePoint.cs: 
	* ServicePointManager.cs: 
	* WebClient.cs: 
	* WebException.cs: 
	* WebHeaderCollection.cs: 
	* WebProxy.cs: 
	* WebExceptionStatus.cs: 2.0 profile updates



svn path=/trunk/mcs/; revision=80152
2007-06-19 13:23:16 +00:00
Adar Wesley 831089227a 2007-05-16 Adar Wesley <[email protected]>
* System20.csproj: added classes to compilation set IOControlCode.cs,
	IPPacketInformation.cs

	* CookieCollection.cs: added missing method strongly typed CopyTo.

	* CredentialCache.cs: added missing methods Add, Remove, GetCredential

	* HttpWebRequest.jvm.cs: added missing ClientCertificates getter.

	* ServicePoint.cs: added missing method CloseConnectionGroup.

	* WebClient.cs: added missing methods OnDownloadProgressChanged,
	OnUploadProgressChanged, GetWebRequest, GetWebResponse

	* WebHeaderCollection.cs: added missing methods IsRestricted, Add,
	Remove, Set.

	* WebProxy.cs: added missing method GetObjectData.

	* Socket.jvm.cs: added missing methods EndDisconnect, IOControl,
	Send 2.0 overloads, Receive 2.0 overloads, ReceiveMessageFrom,
	BeginReceiveMessageFrom, EndReceiveMessageFrom, 
	EndAccept 2.0 overloads, BeginSend, EndSend, BeginReceive, 
	EndReceive, SendFile, BeginSendFile, EndSendFile, Disconnect,
	DuplicateAndClose

svn path=/trunk/mcs/; revision=77472
2007-05-16 12:03:13 +00:00
Gert Driesen 67270c1822 * WebProxy.cs: In IsBypassed, move address check back to satify unit
tests.
* WebProxyTest.cs: Added tests that cover regression introduced by previous
change.

svn path=/trunk/mcs/; revision=72129
2007-02-01 19:58:07 +00:00
Miguel de Icaza 06e8539678 Restore address test that was there before 71806
svn path=/trunk/mcs/; revision=72075
2007-02-01 06:00:09 +00:00
Gert Driesen ad15fe1510 * WebProxyTest.cs: Move IsBypassed null check to separate test, and
fixed it for 2.0 profile. Added test for binary serialization.
* WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
profile, throw ArgumentNullException in IsBypassed if host is null.

svn path=/trunk/mcs/; revision=71806
2007-01-28 13:11:58 +00:00
Gonzalo Paniagua Javier a3abcd79f5 2006-06-02 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: (IsBypassed) 'loopback', 'localhost' and any address
	that starts with 127 are special.


svn path=/trunk/mcs/; revision=61415
2006-06-02 16:26:38 +00:00
Gonzalo Paniagua Javier 6e905541ac 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
	This fixes bug #78150. Also fix the bypass check for local requests.


svn path=/trunk/mcs/; revision=59715
2006-04-20 22:45:54 +00:00
Gonzalo Paniagua Javier 04e0177073 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: removed bogus ^M.


svn path=/trunk/mcs/; revision=59714
2006-04-20 22:29:46 +00:00
Gonzalo Paniagua Javier 5ded01db1e 2004-07-26 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
	([email protected]).

svn path=/trunk/mcs/; revision=31477
2004-07-26 18:02:17 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Andreas N 8fec9042ed 2003-07-13 Andreas Nahr <[email protected]>
* WebProxy.cs: Add serialization/ deserialization support

svn path=/trunk/mcs/; revision=16175
2003-07-13 22:03:59 +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 7ba9248113 * WebProxy.cs: more rigorous testing, fixed bug + had to change
internal representation of bypasslist to ArrayList, different
        implementation of checking regex's.

svn path=/trunk/mcs/; revision=4827
2002-05-21 15:56:21 +00:00
Lawrence Pit 11fdd62665 * WebClient.cs: stubbed
* WebProxy.cs: fixed bug

	* WebProxyTest.cs: added more ctor tests

svn path=/trunk/mcs/; revision=4806
2002-05-21 03:07:21 +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