[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #11 from Sander Benschop --- It worked! I updated the code yesterday and the server still hasn't run out of memory. In the graph I can see that it stabilises nicely. Thank you so much jfclere! :-) -- You are receiving this mail be

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #10 from jfclere --- try with http://svn.apache.org/viewvc?rev=1846593&view=rev I think I have fixed all the leaks now. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #9 from jfclere --- OK I know that adding: OPENSSL_free(hostname); OPENSSL_free(c_port); OPENSSL_free(path); is not enough, but I am happy it helps ;-) -- You are receiving this mail because: You are the assignee for t

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #8 from Sander Benschop --- Ok, I will try again to build the code from SVN and see if it makes a difference, but right now the server still runs out of memory. I have added the three lines of code you suggested in this place: fre

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #7 from jfclere --- ImportError: No module named 'ConfigParser' that is because you are using python... You need an apr version that supports python3 or use python2. -- You are receiving this mail because: You are the assignee for

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #6 from Sander Benschop --- I was getting errors in the Python build script when running the buildconf file: ImportError: No module named 'ConfigParser' And I tried to run the buildcheck.sh file which reported I didn't have Python

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #5 from jfclere --- Try with r1846499, I still have another memory leak but can't find where. -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #4 from jfclere --- The problem is OCSP_parse_url() we have forgotten: OPENSSL_free(hostname); OPENSSL_free(c_port); OPENSSL_free(path); I will commit the fix tomorrow, testing it now. -- You are receiving this mail be

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #3 from Sander Benschop --- You are correct jfclere, I indeed only tried this in an attempt to isolate the cause of the leak. I should have been more clear in my previous comment :-) -- You are receiving this mail because: You are

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #2 from jfclere --- replacing SSL_callback_SSL_verify() by no-op disable all the OSCP checks, that is probably not what you want to do... But yes that shows that the leak is somewhere in SSL_callback_SSL_verify(). -- You are recei

[Bug 62892] Memory leak when performing client certificate validation with OCSP

2018-11-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62892 --- Comment #1 from Sander Benschop --- I have further isolated the issue by replacing the verify_cb function 'SSL_callback_SSL_verify' (from the Tomcat Native Library) with a no-op function. When I do this the available memory remains constant