Commit Briefs

Omar Polo

wrap unfreeze in ifdef

instead of defining macros in compat.h. It's clearer that it's only for libevent2 this way


Omar Polo

unfrozen by default

it seems that we can "melt" :P the evbuffer from the start to avoid the unfreeze/freeze dance



Omar Polo

fix bufferevent tls I/O on libevent2

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. Retain compatibility with the custom libevent1 in base on OpenBSD.


Omar Polo

drain read buffer before EOF


Omar Polo

initial gopher support


Omar Polo

support finger:// urls!


Omar Polo

fix possible overflow

sizeof(buf) should be equal to howmuch, otherwise we may end up reading with tls_read out of bounds and corrupting the stack.


Omar Polo

move struct req declaration up

avoid a dummy `struct req;'


Omar Polo

re-align declarations


Omar Polo

reorder



Omar Polo

drop setup_tls


Omar Polo

wrap some long lines


Omar Polo

deallocate memory before exiting

it's not really required, we're gonna quit anyway, but it's cleaner and helps reducing the clutter when using leak detection tools.