NAME

Shuvgey - AnyEvent HTTP/2 (draft 13) Server for PSGI

SYNOPSIS

shuvgey --listen :8000 --tls_key=cert.key --tls_crt=cert.crt app.psgi

DESCRIPTION

Shuvgey is a lightweight non-blocking, single-threaded HTTP/2 (draft 13) Server that runs PSGI applications on top of AnyEvent event loop.

Shuvgey use Protocol::HTTP2 for HTTP/2 support. Supported plain text HTTP/2 connections, HTTP/1.1 Upgrade, and secure TLS connections (with ALPN/NPN protocol negotiation).

STATUS

It's alpha stage. I can run simple Dancer PSGI app and it even work!

Note: with Firefox 33.0a (nightly) you may need to setup option network.http.spdy.enforce-tls-profile to false. For some strange reason Net::SSLeay try to downgrade cipher to TLS_RSA_WITH_RC4_128_MD5 that's Firefox didn't like.

NAMING

There is a wellknown python non-blocking, single-threaded HTTP server Tornado.

Shuvgey is the collective name of evil forces in Komi-Zyryan and Komi-Perm folklore. Materialized in the form of a strong wind vortex. See also wikipedia article Шувгей (in russian).

So Shuvgey is like Tornado, but more scary: written in Perl and support HTTP/2 protocol.

OPTIONS

Avaliable all options from plackup and also some specific Shuvgey options:

--no_tls - don't encrypt connection
--upgrade - use HTTP/1.1 Upgrade protocol to upgrade to HTTP/2 (no tls)
--tls_key - path to private key
--tls_crt - path to certificate

LICENSE

Copyright (C) Vladimir Lettiev.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Vladimir Lettiev <thecrux@gmail.com>