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

--- Comment #7 from Sebb <[email protected]> ---
Comment on attachment 33567
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33567
Patch fixing this issue

[New file needs an AL header]

Looks like adaptee is created using double-checked locking.
That is not thread-safe unless protected by volatile (or a full lock, in which
case no point in double-checking).

Given that the adaptee depends only on the value of CPS_HTTPS, and that is only
checked at startup, there will only ever be one adaptee. So the code could
perhaps use the IODH idiom instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to