if (ssl_io->plain_output->real_stream->error_handling_disabled)
o_stream_set_no_error_handling(*output, TRUE);
+ ssl_io->ssl_input = *input;
ssl_io->ssl_output = *output;
*iostream_r = ssl_io;
return 0;
ssl_io->ostream_flush_waiting_input = FALSE;
o_stream_set_flush_pending(ssl_io->plain_output, TRUE);
}
+ i_stream_set_input_pending(ssl_io->ssl_input, TRUE);
ssl_io->want_read = FALSE;
}
return bytes_read;
struct ssl_istream *sstream = (struct ssl_istream *)stream;
i_free(sstream->istream.w_buffer);
+ sstream->ssl_io->ssl_input = NULL;
ssl_iostream_unref(&sstream->ssl_io);
}