• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:sequencer

2  * lws-minimal-secure-streams-seq
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
14 * This is the "secure streams" api equivalent of minimal-http-client...
15 * it shows how to use a sequencer to make it easy to build more complex
22 * ------ app ------ process
23 * ---- sequencer ---- process
24 * --- secure stream --- process
25 * ------- wsi ------- connection
27 * see minimal-secure-streams for a similar example without the sequencer.
39 "\"schema-version\":" "1,"
61 * cross-signed by an IdenTrust intermediate that's widely
118 "{\"mintest-fail\": {"
163 * If we received the whole message, we let the sequencer know it in myss_rx()
196 return lws_ss_request_tx(m->ss); in myss_state()
226 * This defines the sequence of things the test app does.
238 /* these messages are created just by virtue of being a sequencer */ in min_sec_str_sequencer_cb()
240 case LWSSEQ_CREATED: /* our sequencer just got started */ in min_sec_str_sequencer_cb()
241 s->state = SEQ_IDLE; in min_sec_str_sequencer_cb()
256 ssi.streamtype = "mintest-fail"; in min_sec_str_sequencer_cb()
266 &s->ss, seq, NULL)) { in min_sec_str_sequencer_cb()
279 if (s->state == SEQ_RECONNECT_WAIT) in min_sec_str_sequencer_cb()
280 return lws_ss_request_tx(s->ss); in min_sec_str_sequencer_cb()
285 * bound to this sequencer at creation time. It copies its state in min_sec_str_sequencer_cb()
286 * events to us as its sequencer parent. v is the lws_ss_handle_t * in min_sec_str_sequencer_cb()
291 return lws_ss_request_tx(s->ss); in min_sec_str_sequencer_cb()
328 * sequencer we had the payload properly in min_sec_str_sequencer_cb()
360 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
364 lwsl_user("LWS minimal secure streams [-d<verbosity>][-f][--h1post]\n"); in main()
366 flag_conn_fail = !!lws_cmdline_option(argc, argv, "-f"); in main()
367 flag_h1post = !!lws_cmdline_option(argc, argv, "--h1post"); in main()
384 * Create the sequencer that performs the steps of the test action in main()
393 i.name = "min-sec-stream-seq"; in main()
396 lwsl_err("%s: failed to create sequencer\n", __func__); in main()