[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62590] performance drop after moving from apache 2.2 to apache 2.4


https://bz.apache.org/bugzilla/show_bug.cgi?id=62590

--- Comment #2 from Eric Covener <covener@xxxxxxxxx> ---
(In reply to paolo from comment #1)
> After some debug-session I found out that  the problem are the
> ERR_clear_error calls in ssl_filter_write and ssl_io_input_read. If I remove
> those calls the performance is the same like with httpd/2.2.
> 
> Are those calls really needed in the ssl_io_input_read/ssl_filter_write
> function?
> Isn't it enough to have it only in the ssl_io_filter_handshake function.
> 
> Or what about to call this function only if an error occurred:
> 
>         else /* (rc < 0) */ {
>             int ssl_err = SSL_get_error(inctx->filter_ctx->pssl, rc);
>             conn_rec *c =
> (conn_rec*)SSL_get_app_data(inctx->filter_ctx->pssl);
> 
>  +           ERR_clear_error();
> 
>             if (ssl_err == SSL_ERROR_WANT_READ) {
> 
> 
> Many thanks for any answer.

ref: https://bz.apache.org/bugzilla/show_bug.cgi?id=60223

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx