Lines Matching +full:handle +full:- +full:sigint
2 * lws-minimal-http-server-eventlib
4 * Written in 2010-2019 by Andy Green <andy@warmcat.com>
13 * "./mount-origin" of the directory it was started in.
32 { "http-only", lws_callback_http_dummy, 0, 0, 0, NULL, 0 },
45 NULL, /* linked-list pointer to next*/
47 "./mount-origin/candide-uncompressed.zip", /* handler */
63 (struct lws_http_mount *)&mount_ziptest_uncomm, /* linked-list pointer to next*/
65 "./mount-origin/candide.zip", /* handler */
82 (struct lws_http_mount *)&mount_ziptest, /* linked-list pointer to next*/
84 "protocol-post-demo", /* handler */
101 /* .mount_next */ &mount_post, /* linked-list "next" */
103 /* .origin */ "./mount-origin", /* serve from dir */
120 void signal_cb(void *handle, int signum) in signal_cb() argument
126 case SIGINT: in signal_cb()
147 * -DCMAKE_BUILD_TYPE=DEBUG instead of =RELEASE */ in main()
152 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
157 lwsl_user(" [-s (ssl)] [--uv (libuv)] [--ev (libev)] [--event (libevent)]\n"); in main()
169 if (lws_cmdline_option(argc, argv, "-s")) { in main()
172 info.ssl_cert_filepath = "localhost-100y.cert"; in main()
173 info.ssl_private_key_filepath = "localhost-100y.key"; in main()
177 if (lws_cmdline_option(argc, argv, "--uv")) in main()
180 if (lws_cmdline_option(argc, argv, "--event")) in main()
183 if (lws_cmdline_option(argc, argv, "--ev")) in main()
186 if (lws_cmdline_option(argc, argv, "--glib")) in main()
189 signal(SIGINT, sigint_handler); in main()