Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SPDY daemon and rack adapter

branch: master

Merge pull request #3 from mrreynolds/master

Fixed wrong rack shell command.
latest commit e970e49751
Roman Shterenzon authored January 11, 2012
Octocat-spinner-32 bin Initial commit May 25, 2011
Octocat-spinner-32 examples Initial commit May 25, 2011
Octocat-spinner-32 ext Initial commit May 25, 2011
Octocat-spinner-32 lib Don't try to cancel non-existent stream November 21, 2011
Octocat-spinner-32 .gitignore Initial commit May 25, 2011
Octocat-spinner-32 LICENSE Initial commit May 25, 2011
Octocat-spinner-32 README.md rackup is the correct shell command. January 11, 2012
Octocat-spinner-32 Rakefile Initial commit May 25, 2011
Octocat-spinner-32 spdy.gemspec Fixed gemspec. January 10, 2012
README.md

SPDY daemon

This is a wrapper around the original Google's SPDY Framer. It includes a standalone server (spdyd) which can act as a SPDY-HTTP proxy (or use yet another HTTP proxy) as well as a Rack adapter. The server is built around Eventmachine, and should be pretty fast.

Installation:

Gem

  1. gem build spdy.gemspec
  2. sudo gem install ./spdy-0.1.gem

Manual

  1. gem install em-http-request -v 0.3.0
  2. Optional, for daemonization: gem install daemons
  3. cd ext; ruby extconf.rb; make

Running standalone server:

Running it standalone is as simple as:

bin/spdyd

Check bin/spdyd -h for options.

Rack:

You can also run it as a rack server:

rackup -s Spdy examples/local.ru

or for Rails application:

rackup -s Spdy config.ru

TODO:

Copyright 2010 (c) Roman Shterenzon, released under the AGPLv3 license.

Something went wrong with that request. Please try again.