X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 28 Jun 2009 15:31:55 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [1.7.0-50] scp progress counter flies through first 175 MB or so Message-ID: <20090628193155.GA10407@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2ul445d2cfjj1q2t2viropiikoj70slglb AT 4ax DOT com> <20090625101039 DOT GP7289 AT calimero DOT vinschen DOT de> <20090625140508 DOT GA17040 AT ednor DOT casa DOT cgf DOT cx> <20090625143651 DOT GR7289 AT calimero DOT vinschen DOT de> <20090625145005 DOT GB18338 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090625145005.GB18338@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.19 (2009-01-05) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Jun 25, 2009 at 10:50:05AM -0400, Christopher Faylor wrote: >On Thu, Jun 25, 2009 at 04:36:51PM +0200, Corinna Vinschen wrote: >>Looks like scp now stumbles over the pipe select() implementation. > >Yes. Grumble. That's a bad interaction between non-blocking writes and >our stupid-thanks-to-Microsoft select implementation. I think I can >work around this particular problem though. I'll get to that this >weekend. This should be fixed in the latest snapshot. I hated to do it because I think I've throttled pipe reads and writes somewhat but it should be more correct now. However, the new implementation may play more nicely with things like rsync which hang on pipe writes. Btw, Corinna, were you proposing turning the "FIXME" code in peek_pipe back on? I don't think I ever saw it fail myself after my last round of tweaks but I don't remember what the exact problem was. Did it fail on some version of Windows NT/2000/XP/2003/2008/7? 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