Skip to content
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

A strang problem when deploy yesod app as a cgi app #1186

Closed
uuhan opened this issue Mar 16, 2016 · 1 comment
Closed

A strang problem when deploy yesod app as a cgi app #1186

uuhan opened this issue Mar 16, 2016 · 1 comment

Comments

@uuhan
Copy link

uuhan commented Mar 16, 2016

The package wai and wai-handler-fastcgi of the newest version seems not work well in my project. So I want to deploy my app via the cgi method ( nginx + fcgiwrap) .
But I encounter a strange problem when do the job:
( I write a test cabal project to show it. My repo link : [https://github.com/uuhan/wai-cgi-test] )

When run yesod app as a cgi app, it fails with this message:
yesod-cgi-test: Network/Wai/Handler/CGI.hs:(106,15)-(121,13): Missing field in record construction requestHeaderReferer

I think there may be some wrong in the wai package or I am doing the right things in a wrong way.

@snoyberg snoyberg changed the title A strang problem when deploy yesod app as a cgi app A strang problem when deploy yesod app as a cgi app Mar 16, 2016
@snoyberg
Copy link
Member

Thanks for the report, should be fixed with wai-extra-3.0.14.3

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

No branches or pull requests

2 participants