httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43889] - mod_ssl doesn't log OpenSSL associated error string data
Date Mon, 19 Nov 2007 13:34:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43889>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43889





------- Additional Comments From steve@openssl.org  2007-11-19 05:34 -------
The manual page is a bit confusing in that respect. Almost all applications just
call ERR_print_errors() and forget about it, that isn't of course possible here.

The data will be freed internally when the circular buffer is reused (e.g. by
more errors or explicitly cleared).

If you free up the data explicitly it wont reset the internal flags and data so
you'd end up with the data being freed twice.

Now I've checked the sources in more detail there is a simpler way to achieve
the same thing and free up the data properly: peek the error first and call
ERR_get_error() afterwards. New patch included.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message