micronaut-projects / micronaut-core

Micronaut Application Framework
http://micronaut.io
Apache License 2.0
6.07k stars 1.07k forks source link

Request Header Not Carry Forwarded In Controller #7799

Closed jayamrutkar closed 2 years ago

jayamrutkar commented 2 years ago

Thanks for reporting an issue, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.

NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (https://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.

Task List

Steps to Reproduce

  1. Mark Controller method as running on @ExecuteOn(TaskExecutors.IO)
  2. Send request to our method with customized header parameters like {param name: 'ABC', param value: 'XYZ'}
  3. Debug on Controller method to see request header is missing as it is running on io-thread pool

Expected Behaviour

we should get header parameter in request of controller if we marked method to run on IO Executor

Actual Behaviour

Missing custom header parameter in request of controller

Environment Information

jayamrutkar commented 2 years ago

Working as expected. No issue.