[Mono-bugs] [Bug 589305] New: FtpWebRequest with keepalive=false doesn't work correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 18 07:01:16 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=589305

http://bugzilla.novell.com/show_bug.cgi?id=589305#c0


           Summary: FtpWebRequest with keepalive=false doesn't work
                    correctly
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: patriotyk at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9
(KHTML, like Gecko) Chrome/5.0.307.7 Safari/532.9

FtpWebRequest with keepalive=false doesn't send QUIT command, when using
control commands such like  SIZE, MDTM and other. But always close socket
connection.

Reproducible: Always

Steps to Reproduce:
1. Create empty c# console project
2. Put following code:
    FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverUri);
    request.Method = WebRequestMethods.Ftp.DeleteFile;
    request.KeepAlive = false;

    FtpWebResponse response = (FtpWebResponse) request.GetResponse();
    response.Close();
3. Compile it
4. run wireshark and start capturing 
5. run this program and analyze packets
Actual Results:  
There is no QUIT command in sent packets.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list