Archive Index
This month's Index
|
Subject: [ libssh2-Bugs-2828153 ] Hang in libssh2_sftp_readdir
[ libssh2-Bugs-2828153 ] Hang in libssh2_sftp_readdir
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 01 Sep 2009 21:00:24 +0000
Bugs item #2828153, was opened at 2009-07-28 03:38
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
I'm working on a bug fix release, and I'm using the git master branch of libssh2. I had tried using the 1.1 branch, but I hit the timing bug where channel reads would sometimes return 0 bytes. That problem is fixed for me, but now I have a new problem.
Now, I'm getting sporadic hangs when calling libssh2_sftp_readdir. This only happens when I'm accessing remote Linux servers (e.g. my Web Faction and Dreamhost servers). Local directory reads of OS X machines on my WiFi network seem reliable.
I tried building my application against different versions of libssh2. It could read directories reliably up until the following commit:
SHA: b95fe985af3c80a2babcaaaf7da69a15b1237c49
Something in this change caused libssh2_sftp_readdir to have problems. If I back up one commit from this, then my directory reads are fine.
Let me know if you need more details!
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
You can respond by visiting:
|