You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #78 Fix populating default port and headers in HttpFoundationFactory (mleczakm)
This PR was merged into the 2.0-dev branch.
Discussion
----------
Fix populating default port and headers in HttpFoundationFactory
These are few dirty hacks which are required to get symfony up and running as Roadrunner psr7 worker:
- overriding headers need to be removed to be able to send basic auth headers.
- setting `$_SERVER['https']` to true is required for properly handling non-proxied requests, handled with encryption directly from Roadrunner - same as symfony/psr-http-message-bridge#77
- setting default server port fixes error with interpreting no port defined in url as `0`
Commits
-------
4f30401 Fix populating default port and headers in HttpFoundationFactory
0 commit comments