-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstream sent duplicate header line #24
Comments
@thijskh I sort of remember us discussing a duplicate date-header, but I can't remember the details.. Do you? Edit: I found simplesamlphp/simplesamlphp#1852 but that one was never merged and the reason for that wasn't mentioned in the PR. |
I think it was never merged because we considered it a corner case that was resolved by the refactoring already done in master... |
Hi @tvdijen and @thijskh, thank you for the quick response!
I manually added the date line, but needed to add it after parent constructor so it wouldn't error out and it did not work, I still get the duplicate header for Date.
I updated discopower to use the latest commit which includes this (I double checked) and again it did not work, I still get the duplicate header for Date. I also increased the output_buffering on php and then disabled it and both times I still get the duplicate header for Date. Happy to try other things as you think of them. Our setup is very basic, php-fpm talking to nginx. The nginx log is what is reporting duplicate header line from php and it is only from discopower. |
I think in addition to what @thijskh already said, it wasn't merged because it didn't work. |
I think I may have found a workaround for this. The issue, if I remember correctly, is that we output a template ($t->send()) and capture that in a StreamedResponse and then output that again.
Strike that.. I came to the conclusion that this cannot be done without a tremendous amount of work on SimpleSAMLphp. |
Hi team, When using discopower I notice the following in the logs when looking at disco.php. On both dev-master and latest release.
The rest of SSP seems to not have this problem.
The text was updated successfully, but these errors were encountered: