Skip to content

Conversation

@jmnarloch
Copy link
Contributor

Hi,

I have a small request related to spring-cloud/spring-cloud-netflix#582 and spring-cloud/spring-cloud-netflix#524. I would like to enable by default the request wrapper in Undertow. This has a particular use case - Netflix Zuul proxy, which wraps the request/response for forwarding. Other cases probably include url rewriting and similar solutions. This setting is required to disable Undertow checks that are very selective and does not manifest themselves in every situation, but generally break the exception propagation. Enabling that in Spring Cloud directly would unnecessary couple the code with particular container so I though it would be better to directly do this here.

@wilkinsona
Copy link
Member

I'm not sure about changing this by default. As explained in my comment on spring-cloud-netflix#582, Undertow will, by default, quite happily allow a request to be wrapped, as long as it's wrapped with javax.servlet.ServletRequestWrapper.

@snicoll
Copy link
Member

snicoll commented Oct 23, 2015

I am not either.

@wilkinsona wilkinsona closed this Jan 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants