Cleanup
This commit is contained in:
parent
f69ca8e54c
commit
fc87d54649
|
@ -6761,7 +6761,6 @@ handle_command_buffer (struct handler_args *a)
|
||||||
if (try_handle_buffer_goto (ctx, action))
|
if (try_handle_buffer_goto (ctx, action))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// XXX: also build a prefix map?
|
|
||||||
// TODO: some subcommand to print N last lines from the buffer
|
// TODO: some subcommand to print N last lines from the buffer
|
||||||
bool result = true;
|
bool result = true;
|
||||||
if (!strcasecmp_ascii (action, "list"))
|
if (!strcasecmp_ascii (action, "list"))
|
||||||
|
|
2
kike.c
2
kike.c
|
@ -3494,7 +3494,6 @@ irc_initialize_ssl_ctx (struct server_context *ctx,
|
||||||
}
|
}
|
||||||
SSL_CTX_set_verify (ctx->ssl_ctx,
|
SSL_CTX_set_verify (ctx->ssl_ctx,
|
||||||
SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, irc_ssl_verify_callback);
|
SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, irc_ssl_verify_callback);
|
||||||
// XXX: maybe we should call SSL_CTX_set_options() for some workarounds
|
|
||||||
|
|
||||||
if (g_debug_mode)
|
if (g_debug_mode)
|
||||||
SSL_CTX_set_info_callback (ctx->ssl_ctx, irc_ssl_info_callback);
|
SSL_CTX_set_info_callback (ctx->ssl_ctx, irc_ssl_info_callback);
|
||||||
|
@ -3505,7 +3504,6 @@ irc_initialize_ssl_ctx (struct server_context *ctx,
|
||||||
session_id_context, sizeof session_id_context);
|
session_id_context, sizeof session_id_context);
|
||||||
|
|
||||||
// Gah, spare me your awkward semantics, I just want to push data!
|
// Gah, spare me your awkward semantics, I just want to push data!
|
||||||
// XXX: do we want SSL_MODE_AUTO_RETRY as well? I guess not.
|
|
||||||
SSL_CTX_set_mode (ctx->ssl_ctx,
|
SSL_CTX_set_mode (ctx->ssl_ctx,
|
||||||
SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER | SSL_MODE_ENABLE_PARTIAL_WRITE);
|
SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER | SSL_MODE_ENABLE_PARTIAL_WRITE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue