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

does't work with mod_http2 #623

Open
532910 opened this issue May 2, 2018 · 2 comments
Open

does't work with mod_http2 #623

532910 opened this issue May 2, 2018 · 2 comments

Comments

@532910
Copy link

532910 commented May 2, 2018

I got multiple different perl errors when add Protocols h2 http/1.1 to the VirtualHost context with

  <Location />
    SetHandler perl-script
    PerlResponseHandler Plack::Handler::Apache2
    PerlSetVar psgi_app /path/bin/app.psgi
  </Location>

from VirtualHost's error.log:

[perl:error] Bizarre copy of HASH in anonymous hash ({}) at /usr/share/perl5/Plack/Handler/Apache2.pm line 54.
[perl:error] Can't use an undefined value as a subroutine reference at /usr/share/perl5/Plack/Handler/Apache2.pm line 87.
[perl:error] Can't locate object method "headers_in" via package "443" (perhaps you forgot to load "443"?) at /usr/share/perl5/Plack/Handler/Apache2.pm line 67.
[perl:error] Can't locate object method "dir_config" via package "" (perhaps you forgot to load ""?) at /usr/share/perl5/Plack/Handler/Apache2.pm line 125.
[perl:error] panic: attempt to copy freed scalar XXX to XXX at /usr/share/perl5/Plack/Handler/Apache2.pm line 54.
[perl:error] Can't call method "headers_in" on unblessed reference at /usr/share/perl5/Plack/Handler/Apache2.pm line 67.
[perl:error] Can't locate object method "dir_config" via package "" (perhaps you forgot to load ""?) at /usr/share/perl5/Plack/Handler/Apache2.pm line 125.
@532910
Copy link
Author

532910 commented May 3, 2018

Forgot to say:
Debian stretch (stable)
libplack-perl 1.0042-1
perl 5.24.1-3+deb9u3
apache2 2.4.25-3+deb9u4

@robrwo
Copy link
Contributor

robrwo commented Mar 25, 2021

I'm using v1.0048 with Apache mod_http2 on a reverse proxy.

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