Plack::Middleware::Proxy::Connect::IO - CONNECT method
# In app.psgi use Plack::Builder; use Plack::App::Proxy; builder { enable "Proxy::Connect::IO", timeout => 30; enable "Proxy::Requests"; Plack::App::Proxy->new->to_app; };
This middleware handles the CONNECT method. It allows to connect to https addresses.
CONNECT
https
The middleware runs on servers supporting psgix.io and provides own event loop so does not work correctly with psgi.nonblocking servers.
psgix.io
psgi.nonblocking
The middleware uses only Perl's core modules: IO::Socket::INET and IO::Select.
Timeout for the socket. The default value is 60 seconds.
60
Plack, Plack::App::Proxy, Plack::Middleware::Proxy::Connect.
If you find the bug or want to implement new features, please report it at https://github.com/dex4er/perl-Plack-Middleware-Proxy-Connect-IO/issues
The code repository is available at http://github.com/dex4er/perl-Plack-Middleware-Proxy-Connect-IO
Piotr Roszatycki <dexter@cpan.org>
Copyright (c) 2014, 2016, 2023 Piotr Roszatycki <dexter@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
See http://dev.perl.org/licenses/artistic.html
To install Plack::Middleware::Proxy::Connect::IO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::Proxy::Connect::IO
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::Proxy::Connect::IO
For more information on module installation, please visit the detailed CPAN module installation guide.