Conversation
|
Not tested. I was hoping travis-ci would help me with that, but it doesn't seem to do much: https://app.travis-ci.com/github/php/pecl-networking-ssh2/pull_requests |
|
Thank you for your time and your contribution. I have three points I'd like to discuss with you: Point 1: I have always thought that this would be the default read/write timeout too, but apparently it is not. I think this is a bug. I think we have to add a Point 2: Point 3: Although we have a problem here. I like the consistency between methods and also: Using sub-second precision is probably and edge-case. With my suggested call signature the seconds-case is made easy, still allowing for more precision when needed. What do you think? |
|
I have changed my mind on point 1. I tried messing about with libssh2_keepalive_config() but that didn't lead to anything useful. |
|
Thanks for the elaborate response Casper. My apologies for the slow reply. Time is hard to find these days.
2+3. Okay! Groetjes, |
8c1d84c to
1d48ae5
Compare
41ad4c4 to
1d48ae5
Compare
|
(apologies for the noise, it seems "Sync fork" on Github leaves a (somewhat unnecessary) merge commit) |
|
Anything I can do to move this forward? |
|
Why don't you call I ended up patching my own copy to just use the socket timeout for the entire session because I'm not doing anything that should take that long. |
issue #62