Signed-off-by: Felix Fietkau <nbd@openwrt.org>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libubox/ustream.h>
#include <libubox/uloop.h>
#include <libubox/ustream.h>
#include <libubox/uloop.h>
+ signal(SIGPIPE, SIG_IGN);
ctx = ustream_ssl_context_new(true);
ustream_ssl_context_set_crt_file(ctx, "example.crt");
ustream_ssl_context_set_key_file(ctx, "example.key");
ctx = ustream_ssl_context_new(true);
ustream_ssl_context_set_crt_file(ctx, "example.crt");
ustream_ssl_context_set_key_file(ctx, "example.key");