Files
guru/net-libs/usockets/files/usockets-0.8.1_p20211023-hammer-test.patch
Aisha Tammy 3c722132a9 net-libs/usockets: version bump to 0.8.1
enable tests
tests fail with asio but pass with either
libuv or no flag (default epoll)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
2021-10-24 23:51:27 -04:00

17 lines
660 B
Diff

diff --git a/examples/hammer_test.c b/examples/hammer_test.c
index 82cda2f..f5bbe5e 100644
--- a/examples/hammer_test.c
+++ b/examples/hammer_test.c
@@ -403,9 +403,8 @@ int main() {
// these are ignored for non-SSL
struct us_socket_context_options_t options = {};
- options.key_file_name = "/home/alexhultman/uWebSockets.js/misc/key.pem";
- options.cert_file_name = "/home/alexhultman/uWebSockets.js/misc/cert.pem";
- options.passphrase = "1234";
+ options.key_file_name = "localhost.pem";
+ options.cert_file_name = "localhost.crt";
http_context = us_create_socket_context(SSL, loop, sizeof(struct http_context), options);