Commit Graph
9 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 32375f7136 2010-05-18 Gonzalo Paniagua Javier <[email protected]>
* FtpDataStream.cs:
	* FtpWebRequest.cs: properly close the data connection even when
	nothing is read from it. Refixes bug #598908.


svn path=/trunk/mcs/; revision=157506
2010-05-18 16:58:15 +00:00
Gonzalo Paniagua Javier 641218b6a4 2010-04-23 Gonzalo Paniagua Javier <[email protected]>
* FtpDataStream.cs:
	* FtpWebRequest.cs: use streams instead of sockets as soon as
	possible. Correctly initialize the control connection when SSL
	is used.
	Fixes bug #598908.


svn path=/trunk/mcs/; revision=156028
2010-04-23 19:37:26 +00:00
Gonzalo Paniagua Javier 9e7ecafa95 2008-11-13 Gonzalo Paniagua Javier <[email protected]>
* FtpDataStream.cs: use the socket for reading until the end of a
	stream that wasn't read entirely. Remove unused ManualResetEvent.
	* FtpWebRequest.cs: set the file_name when downloading. Update the
	response status after every SendCommand. Send a "OPTS utf8 on" as MS
	does (the control cnc reader should do something with UTF8)


svn path=/trunk/mcs/; revision=118783
2008-11-13 22:55:54 +00:00
Marek Safar e61dde083e Warnings cleanup
svn path=/trunk/mcs/; revision=89678
2007-11-15 14:14:49 +00:00
Miguel de Icaza ab59066565 2007-03-09 Miguel de Icaza <[email protected]>
* FtpDataStream.cs: Close must be called on the stream before we
	attempt to read a status code from the remote server.

svn path=/trunk/mcs/; revision=73986
2007-03-09 05:43:22 +00:00
Gert Driesen e92d8307ef * DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
* HttpVersion.cs: Same.
* FtpWebResponse.cs: Same.
* HttpContinueDelegate.cs: Same.
* FtpAsyncResult.cs: Same.
* EndpointPermission.cs: Same.
* IPv6Address.cs: Same.
* FtpDataStream.cs: Same.
* SocketPermission.cs: Same.
* FileWebRequest.cs: Same.
* FileWebResponse.cs: Same.
* DnsPermission.cs: Same.
* ProtocolViolationException.cs: Same.
* MonoHttpDate.cs: Same.
* SocketPermissionAttribute.cs: Same.
* CookieException.cs: Same.
* WebResponse.cs: Same.
* DefaultCertificatePolicy.cs: Same.

svn path=/trunk/mcs/; revision=70198
2006-12-29 09:16:25 +00:00
David Elkind 22f54ecce3 * FtpAsyncResult.cs : FTP request is now working and covers about 100% of .NET API
* FtpDataStream.cs: FTP request is now working and covers about 100% of .NET API
	* FtpWebRequest.cs: FTP request is now working and covers about 100% of .NET API
	* FtpWebResponse.cs: FTP request is now working and covers about 100% of .NET API
	* FtpStatus.cs: added composite status (includes status code and status description)

svn path=/trunk/mcs/; revision=69647
2006-12-18 08:42:00 +00:00
Miguel de Icaza a5bd130af9 2006-03-11 Miguel de Icaza <[email protected]>
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
	used by us internally).

	Ponder: should we instead move our methods to use new versions of
	the Obsoleted ones?

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeNamespaceImportCollection.cs: It turns out that a lot of the
	errors flagged with "!" were just missing explicit interface
	implementations.  

	Implement.

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeDomConfigurationHandler.cs: Comment out unused methods. 

	* TempFileCollection.cs: Implement explicitly some interface
	methods to get rid of the "!" errors on CorCompare.

2006-03-11  Miguel de Icaza  <[email protected]>

	* Queue.cs: Flag as serializable.

	* LinkedList.cs (OnDeserialization): Fix signature. 

	* SortedList.cs: Implement explicitly a few methods that were
	flagged by corcompare. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
	avoid warning.

2006-03-11  Miguel de Icaza  <[email protected]>

	* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
	internal to avoid warnings.  This routine is called from
	System.Web with MethodInfo.Invoke.

2006-03-11  Miguel de Icaza  <[email protected]>

	* DeflateStream.cs: Comment out DllImport that was not being
	used. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* y

	* SerialPort.cs: Remove unused variable (writeBuffer). 

	* SerialPortStream.cs (Dispose): override, not new.

2006-03-11  Miguel de Icaza  <[email protected]>

	* WebClient.cs: Only expose the right methods to avoid warnings. 

	* FtpDataStream.cs (Dispose): Fix signature.

	* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
	like we are missing features here).

	* IPAddress.cs: Move m_HashCode property to the end, and set
	pragmas to disable warnings.

2006-03-11  Miguel de Icaza  <[email protected]>

	* MailAddress.cs: Comment out unused field to remove warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkChange.cs: Use pragmas to eliminate warnings from events
	that we do not trigger yet.

	This is a candidate for using Aaron's NetworkManager code.  But
	would make us depend on d-bus.

	* NetworkInformationException.cs: Use error_code for ErrorCode,
	instead of NativeErrorCode.   Fixes warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
	need to do this everywhere one day).

	(Close): actually obey the "leaveInnerStreamOpen" setting from the
	constructor. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkStream.cs (Dispose): Use the right signature depending on
	the profile being built.

2006-03-11  Miguel de Icaza  <[email protected]>

	* X509Chain.cs: Flagged member as internal to avoid unused warning.

	* X500DistinguishedName.cs: Comment out unused names and move
	temporary unused variables inside the comments that were removed 



svn path=/trunk/mcs/; revision=57836
2006-03-11 19:07:56 +00:00
Carlos Alberto Cortez 2e3ef63ec0 * FtpRequestCreator.cs:
* FtpAsyncResult.cs:
	* FtpDataStream.cs:
	* FtpWebRequest.cs:
	* FtpWebResponse.cs: Initial implementation of FtpWebRequest (2.0)
	
2006-02-01  Carlos Alberto Cortez <[email protected]>


svn path=/trunk/mcs/; revision=56433
2006-02-02 01:59:28 +00:00