mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Fix spurious EOF in agent forwarding!
Commit 6a8b9d381
, which created the Channel vtable and moved the agent
forwarding implementation of it out into agentf.c, managed to set the
rcvd_eof flag to TRUE in agentf_new(), meaning that we behave exactly
as if the first agent request was followed by an incoming EOF.
This commit is contained in:
parent
d77b95cb42
commit
56bf65ef84
2
agentf.c
2
agentf.c
@ -164,7 +164,7 @@ Channel *agentf_new(SshChannel *c)
|
|||||||
af->c = c;
|
af->c = c;
|
||||||
af->chan.vt = &agentf_channelvt;
|
af->chan.vt = &agentf_channelvt;
|
||||||
af->chan.initial_fixed_window_size = 0;
|
af->chan.initial_fixed_window_size = 0;
|
||||||
af->rcvd_eof = TRUE;
|
af->rcvd_eof = FALSE;
|
||||||
bufchain_init(&af->inbuffer);
|
bufchain_init(&af->inbuffer);
|
||||||
af->pending = NULL;
|
af->pending = NULL;
|
||||||
af->input_wanted = TRUE;
|
af->input_wanted = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user