~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4e54c8
)
Don't throw away data that we receive before we're ready for it. Just save
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 29 Jul 2007 14:02:00 +0000
(14:02 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 29 Jul 2007 14:02:00 +0000
(14:02 +0000)
it up for later. This should prevent hangs when talking to particularly
enthusiastic servers.
Thanks to JCA for tracking this bug down.
git-svn-id: svn://svn.tartarus.org/sgt/putty@7651
cda61777
-01e9-0310-a592-
d414129be87e
pscp.c
patch
|
blob
|
blame
|
history
diff --git
a/pscp.c
b/pscp.c
index
8e082e7
..
e208157
100644
(file)
--- a/
pscp.c
+++ b/
pscp.c
@@
-180,12
+180,6
@@
int from_backend(void *frontend, int is_stderr, const char *data, int datalen)
return 0;
}
- /*
- * If this is before the real session begins, just return.
- */
- if (!outptr)
- return 0;
-
if ((outlen > 0) && (len > 0)) {
unsigned used = outlen;
if (used > len)