Commits


adding various debugging printfs...


fix bufferevent tls I/O on libevent2 port of telescope commit 1470eab31452d2fab50bc4965320dab7892b2ef3 original commit message: > on libevent2 we need to wrap evbuffer_add with > evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably > because we're doing some evbuffer_enable/disable/enable-again.


log before closing the connection


typo


s/SIMPLEQ_/STAILQ_/g STAILQ_* macros seems to be more widespread than SIMPLEQ_*


move MIN to header


avoid read out-of-bounds


first stab at 9p


factorize the two version of random_id


fix build for !HAVE_ARC4RANDOM


add flags to listener; warn if missing auth_table in the future we'll have also plain 9p, so mark the tls listeners with L_TLS and add the libtls machinery only in that case.


don't bundle arc4random, if not available use incremented counter it doesn't seem to work on guix, I don't feel fine editing crypto-related code and it was only used to generate a random id for clients connection. I'd love if someone will solve this thought :)


use table for auth


don't include sys/tree.h directly


__dead -> ATTR_DEAD