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

sess_file_rewrite() calls cgi_init_headers() #19

Closed
LeSpocky opened this issue Apr 10, 2015 · 1 comment
Closed

sess_file_rewrite() calls cgi_init_headers() #19

LeSpocky opened this issue Apr 10, 2015 · 1 comment

Comments

@LeSpocky
Copy link
Collaborator

While working with sessions and using cgi_session_alter_var() before cgi_redirect() I noticed the former calling sess_file_rewrite() which seems plausible. However sess_file_rewrite() calls cgi_init_headers() for no obvious reason leading to cgi_redirect() complaining about already initialized headers.

I suggest removing the cgit_init_headers() call, but I'm not entirely sure if this would have some side effects I could not see?!

@rafaelsteil
Copy link
Owner

rafaelsteil commented Apr 10, 2015 via email

LeSpocky added a commit to LeSpocky/libcgi that referenced this issue Feb 24, 2017
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