mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-24 14:30:39 -05:00
Packet protocol layers: new 'final_output' method.
This is called just before closing the connection, and gives every PPL one last chance to output anything to the user that it might have buffered. No functional change: all implementations so far are trivial, except that the transport layer passes the call on to its higher layer (because otherwise nothing would do so).
This commit is contained in:
@ -40,6 +40,7 @@ static const PacketProtocolLayerVtable ssh1_connection_vtable = {
|
||||
.special_cmd = ssh1_connection_special_cmd,
|
||||
.reconfigure = ssh1_connection_reconfigure,
|
||||
.queued_data_size = ssh_ppl_default_queued_data_size,
|
||||
.final_output = ssh_ppl_default_final_output,
|
||||
.name = NULL, /* no layer names in SSH-1 */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user