Re: Fixing more OpenSSL callback crashes

2017-04-14 Thread Tsuyoshi SASAMOTO
>I saw it in the header file, but actually testing it on Solaris 10 Sparc >showed that the address was different as well in different threads. Can >you try on you system as well? Actually, my system is OpenIndiana, but you're right. The address of ___errno() function is same, but the return

Re: Fixing more OpenSSL callback crashes

2017-04-14 Thread Rainer Jung
Am 13.04.2017 um 23:40 schrieb Tsuyoshi SASAMOTO: ...oh. So errno is actually threadsafe, but its "address" is the same in every thread? Interesting. MT-Safe errno of Solaris is implemented as a function, so its address is same but the value is different. cf.

HTTP_FORBIDDEN and sub-requests

2017-04-14 Thread Donatas Abraitis
Hi folks! I have a such code snippet: char *proxy_ts = (char *) apr_table_get(r->headers_in, conf->deny_header); if (!proxy_ts) return HTTP_FORBIDDEN; apr_table_unset(r->headers_in, conf->deny_header); This unsets the arbitrary header properly in application (phpinfo()), but if the site is