mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
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>
17 lines
660 B
Diff
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);
|
|
|