- pre_accept_cb is now evhtp_res (*evhtp_pre_accept_cb)(evhtp_connection_t * conn, void * arg); the connection_t structure is allocated, but the connection hasn't yet been accept()'d. This allows for thread-safe operations to be done on the socket.
… where the end offset was never being set. (Reported by firstname.lastname@example.org)
SSL_CTX_set_verify() function without having to set a custom (*verify_callback). It was previously unable to only switch/select SSL_VERIFY_CLIENT_ONCE, SSL_VERIFY_FAIL_IF_NO_PEER_CERT, SSL_VERIFY_PEER or SSL_VERIFY_NONE
Logic based off the code in libevent's http.c: * When supported, automatically set Transfer-Encoding: chunked * Prefix each chunk with it's hex-encoded size. * Terminate the chunked response with a zero sized chunk. This code is based off of: https://github.com/libevent/libevent/blob/master/http.c#L2549 Currently, this change only sends chunked replies for HTTP1.1 (not 1.0). I did this to match rfc2616 which states: """ A server MUST NOT send transfer-codings to an HTTP/1.0 client. """ http://tools.ietf.org/html/rfc2616#section-3.6