GithubHelp home page GithubHelp logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
we also need this fixed...

Original comment by [email protected] on 24 May 2012 at 1:46

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
I am also seeing the same issue. Any plan to fix this?

Original comment by [email protected] on 29 Jun 2012 at 10:44

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
I also encountered this issue. How can I fix this? Will this be fixed? With 
this bug ganymed-ssh-2 is unusable.

Original comment by [email protected] on 12 Jun 2013 at 9:17

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Does anyone know if there has been any progress on this topic?  

I have noticed some similar behavior while using the GanyMed Library.  When 
executing similar tests to those described by the original poster: open 
connection on an unstable IP link, perform SFTP transactions, drop IP link to 
sshd on remote target, and at 
ch.ethz.ssh2.crypto.cipher.CipherInputStream.fill_buffer(CipherInputStream.java:
41)
I will intermittently receive a blocking read.  I can see this in the debugger 
as our software "hangs" and the NETSTAT command shows the connection as 
"ESTABLISHED" until manually terminated.  Ideally an exception or error of some 
sort would be thrown or returned. 

I am unsure if this is the exact same issue that is explained by the original 
poster, but I feel that it is similar enough that opening another issue isn't 
warranted.

Any insight into the status of this ticket is greatly appreciated!

Original comment by [email protected] on 23 Sep 2013 at 7:29

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
[deleted comment]

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
This has been fixed long ago in r10.

Original comment by [email protected] on 9 Apr 2014 at 7:44

  • Changed state: Fixed

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Hi.

dkocher:
I agree that r10 fixed the issue, but as far as I see this bug was 
re-introduced in r47 by the following code in TransportManager.java:

private static Socket establishConnection(...) {
Socket s = new Socket(); // (1) Creating new socket here, and thus earlier 
.setSoTimeout will not have effect.
// missing setSoTimeout here.
s.connect(new InetSocketAddress(addr, port), connectTimeout);
return s;
...
}

public void setSoTimeout(int timeout) throws IOException
    {
        sock.setSoTimeout(timeout);
    }
but sock.connect() is never called. Instead a new Socket is created in (1).

https://code.google.com/p/ganymed-ssh-2/source/diff?spec=svn47&r=47&format=side&
path=/trunk/src/main/java/ch/ethz/ssh2/transport/TransportManager.java

It would be great to see this issue re-opened and fixed.

Thanks
Regards

Original comment by [email protected] on 10 Apr 2014 at 7:00

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024

Original comment by [email protected] on 10 Apr 2014 at 12:02

  • Changed state: Accepted

from ganymed-ssh-2.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
In r102.

Original comment by [email protected] on 10 Apr 2014 at 1:42

  • Changed state: Fixed

from ganymed-ssh-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.