Skip to content

Commit

Permalink
fix the BlockingSPDYClient reading code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschneider committed Jan 5, 2012
1 parent 0ef329e commit c033063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/blocking_spdy_client.rb
Expand Up @@ -62,7 +62,7 @@ def read_packet
end

def read(len)
x = @sock.read(len).force_encoding('ASCII-8BIT')
x = @sock.read(len)
raise "read fail" unless x.bytesize == len
x
end
Expand Down

0 comments on commit c033063

Please sign in to comment.