cloudflare / keyless

Cloudflare's Keyless SSL Server Reference Implementation
Other
275 stars 80 forks source link

two questions about the code #112

Open hellasmoon opened 7 years ago

hellasmoon commented 7 years ago
  1. in main function, after passing the tcp_server to all the worker threads, why calling uv_run again right after uv_close((uv_handle_t *)&tcp_server, NULL)? (keyless.c, line 1015, master branch)

  2. in function flatten_operation, why should we pad the operation to KSSL_PAD_TO + KSSL_ITEM_HEADER_SIZE bytes?