comparison channel.h @ 1828:3f0ac6bc58a1

- Remove "flushing" handling for exited processes, it should be handled by normal file descriptor reads. - Fix sesscheckclose() handling if a channel was closed before a process was ever launched
author Matt Johnston <matt@ucc.asn.au>
date Mon, 11 Oct 2021 15:16:54 +0800
parents c584b5602bd8
children a7cc3332d8ab
comparison
equal deleted inserted replaced
1827:8a78cc13eb30 1828:3f0ac6bc58a1
75 75
76 int await_open; /* flag indicating whether we've sent an open request 76 int await_open; /* flag indicating whether we've sent an open request
77 for this channel (and are awaiting a confirmation 77 for this channel (and are awaiting a confirmation
78 or failure). */ 78 or failure). */
79 79
80 int flushing;
81
82 /* Used by client chansession to handle ~ escaping, NULL ignored otherwise */ 80 /* Used by client chansession to handle ~ escaping, NULL ignored otherwise */
83 void (*read_mangler)(const struct Channel*, const unsigned char* bytes, int *len); 81 void (*read_mangler)(const struct Channel*, const unsigned char* bytes, int *len);
84 82
85 const struct ChanType* type; 83 const struct ChanType* type;
86 84