• Lars Ingebrigtsen's avatar
    Call the network security manager after doing TLS negotiation · 9c74f2fe
    Lars Ingebrigtsen authored
    * lisp/net/network-stream.el (network-stream-open-tls):
    Postpone NSM verification when running async.
    * src/process.c (Fset_process_filter): This function doesn't
    need to wait.
    (connect_network_socket): Set the process status to "run" only
    after TLS negotiation.
    (wait_for_socket_fds): Take a name parameter for more debugging.
    (wait_reading_process_output): Don't change status to "run"
    unless TLS negotiation has finished.
    (send_process): Wait for the process here instead of
    (connect_network_socket): Call the network security manager.
network-stream.el 16.8 KB