simplessh-rb 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/simplessh/simplessh.c +3 -4
- metadata +4 -4
data/ext/simplessh/simplessh.c
CHANGED
|
@@ -343,10 +343,9 @@ struct simplessh_either *simplessh_send_file(
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
libssh2_channel_send_eof(channel);
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
libssh2_channel_free(channel);
|
|
346
|
+
while(libssh2_channel_send_eof(channel) == LIBSSH2_ERROR_EAGAIN);
|
|
347
|
+
while(libssh2_channel_close(channel) == LIBSSH2_ERROR_EAGAIN);
|
|
348
|
+
while(libssh2_channel_free(channel) == LIBSSH2_ERROR_EAGAIN);
|
|
350
349
|
fclose(f);
|
|
351
350
|
return either;
|
|
352
351
|
}
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simplessh-rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Tom Feron
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-12-
|
|
18
|
+
date: 2013-12-19 00:00:00 +00:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|