Tree
- Tree:
f7b03f45a7fb7b510de1f5d5f55705f349d72042
- Date:
- Message:
- move bufferevent initialization early in handle_handshake the error path needs an initialized bufferevent too, otherwise it'll crash when trying to write the response. This moves the initialisation early, right after the tls_handshake. Another option would be to initialise it in do_accept, but that may be too early.