|
@@ -240,12 +240,14 @@ connection_or_process_inbuf(or_connection_t *conn)
|
|
}
|
|
}
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
|
|
+#ifdef USE_BUFFEREVENTS
|
|
case OR_CONN_STATE_TLS_SERVER_RENEGOTIATING:
|
|
case OR_CONN_STATE_TLS_SERVER_RENEGOTIATING:
|
|
if (tor_tls_server_got_renegotiate(conn->tls))
|
|
if (tor_tls_server_got_renegotiate(conn->tls))
|
|
connection_or_tls_renegotiated_cb(conn->tls, conn);
|
|
connection_or_tls_renegotiated_cb(conn->tls, conn);
|
|
if (conn->_base.marked_for_close)
|
|
if (conn->_base.marked_for_close)
|
|
return 0;
|
|
return 0;
|
|
/* fall through. */
|
|
/* fall through. */
|
|
|
|
+#endif
|
|
case OR_CONN_STATE_OPEN:
|
|
case OR_CONN_STATE_OPEN:
|
|
case OR_CONN_STATE_OR_HANDSHAKING:
|
|
case OR_CONN_STATE_OR_HANDSHAKING:
|
|
return connection_or_process_cells_from_inbuf(conn);
|
|
return connection_or_process_cells_from_inbuf(conn);
|