X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 1 Apr 2010 10:43:05 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: scp no longer reports incremental progress
Message-ID: <20100401144305.GA31187@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <806a89db1003291509t34fb9e26y84a9c8a212f64a6d@mail.gmail.com>  <4BB125E5.2020203@cwilson.fastmail.fm>  <20100329221438.GA8111@ednor.casa.cgf.cx>  <20100331181715.GB20959@ednor.casa.cgf.cx>  <op.vahfgdd01e62zd@balu.cs.uni-paderborn.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <op.vahfgdd01e62zd@balu.cs.uni-paderborn.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Apr 01, 2010 at 02:00:42PM +0300, Matthias Andree wrote:
>Christopher Faylor wrote on 2010-03-31:
>
>> On Mon, Mar 29, 2010 at 06:14:39PM -0400, Christopher Faylor wrote:
>>> On Mon, Mar 29, 2010 at 06:12:53PM -0400, Charles Wilson wrote:
>>>> On 3/29/2010 6:09 PM, Jim Reisert AD1C wrote:
>>>>> I am running the latest Cygwin (1.7.2) and ssh.
>>>>>
>>>>> I notice that scp (from local to remote host) no longer shows an
>>>>> incremental progress bar.  It just reports 100% completion
>>>>> immediately, then I have to wait until the copy is actually done.
>>>>
>>>>> Sink: C0644 11015296 dx4wawd.zip
>>>>> dx4wawd.zip
>>>>>                100%   11MB  10.5MB/s   00:00
>>>>
>>>> Hmm...same behavior here.  Didn't we see this behavior before, about a
>>>> year ago?  I think what fixed it back then was some cgf magic in the
>>>> socket fhandler innards.
>>>>
>>>> Uh-oh. One of the changes between 1.7.1 and 1.7.2 was more socket work.
>>>
>>> Actually, I think it was pipe related.
>>
>> And, it was.  I removed what I thought was an stupid function.  As it
>> turns out the function was needed but it just wasn't working quite
>> right.
>>
>> Today's snapshot, uploaded a few minutes ago, should fix the problem.
>
>Euh, 20100331 seems to introduce regressions for me compared to 20100328.
>scp now seems broken for me,
>
>$ scp -vvvvv somefile user@example.org:/tmp/
>Executing: program /usr/bin/ssh host example.org, user user, command scp  
>-v -t -- /tmp/
>
>and often just hangs there, while PuTTY's pscp and interactive ssh to the  
>same host + login works just fine, and also if I'm using the 20100328  
>snapshot.
>
>With gdb attached, it succeeds once in a while.

How big is "somefile" and where is "example.org"?  Is it a local
machine?  In another country/state/continent?  What kind of system is
it?

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

