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

--- Comment #3 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to Reto Weiss from comment #2)

Use of any ThreadLocal does not play well with asynchronous processing.

The information of "whether the request was submitted via a secure channel"
belongs to the request, not to a specific thread.

I think that using Request.setAttibute() may be a way to go, if other more
specific API is missing.

Alternatively, navigating up the wrapper chain via
ServletRequestWrapper.getRequest().


Note the in org.apache.catalina.connector.Request:

1) Method Request.setSecure(boolean secure).

2) How Request.setAttribute(String name, Object value) is implemented, and use
of SpecialAttributeAdapter there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to