[ssh_x509] select() vs pool() in client and server main loop
ssh_x509 at roumenpetrov.info
ssh_x509 at roumenpetrov.info
Sun Feb 13 13:56:49 EET 2022
Hello,
Perhaps you note that in current OpenBSD repository secure shell uses pool.
PKIX-SSH will keep "old" select() based implementation at least for two OpenBSD release periods, i.e about one year.
The reasons are simple.
Various regression tests fail after commit "prepare for conversion of ssh, sshd mainloop from select() to poll() by moving FD_SET construction out of channel handlers into separate functions" done in OpenBSD repository.
Next point is direct compare between code in repositories. There is a number of suspicious moves of FD_SET to "bit flags" used poll based loop. Also some initialization of "bit flags" are questionable.
Regards,
Roumen Petrov
More information about the ssh_x509
mailing list