We need to add OnClose to nsIPipeObserver so that the socket transport can be informed when the user closes their end of a pipe. That will allow the ftp protocol to close the data channel allowing some servers to respond to the next command.
I checked in the changes to nsPipe2 to call OnClose -- now Rick has to implement the right stuff in nsSocketTransport::OnClose.
I'm moiving this out to M15 since I won't get to it before I leave :-(
After extensive deliberations with Jad this is adjudged to be invalid.