Skip to content

Commit

Permalink
Merge pull request #17 from nolman/master
Browse files Browse the repository at this point in the history
Fixing example
  • Loading branch information
igrigorik committed Mar 22, 2012
2 parents 98f44ca + 8852113 commit b2e7749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/spdy_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class SPDYHandler < EM::Connection
def post_init
@parser = SPDY::Parser.new
@parser.on_headers_complete do |stream_id, associated_stream, priority, headers|
@parser.on_headers do |stream_id, associated_stream, priority, headers|
p [:SPDY_HEADERS, headers]

sr = SPDY::Protocol::Control::SynReply.new({:zlib_session => @parser.zlib_session})
Expand Down

0 comments on commit b2e7749

Please sign in to comment.