Halts input from proxy server early so that proxy_parse_input callback is not
called again.
state == SSL_IOSTREAM_STATE_NAME_MISMATCH;
}
+void login_proxy_input_halt(struct login_proxy *proxy)
+{
+ io_remove(&proxy->server_io);
+}
+
void login_proxy_multiplex_input_start(struct login_proxy *proxy)
{
struct istream *input = i_stream_create_multiplex(proxy->server_input,
const struct ip_addr *hostip,
in_port_t port, const char *destuser);
+/* Halt input from proxy server early */
+void login_proxy_input_halt(struct login_proxy *proxy);
/* Detach proxy from client. This is done after the authentication is
successful and all that is left is the dummy proxying. */
void login_proxy_detach(struct login_proxy *proxy);