Land #5169, stop reading when the HTTP socket is closed

bug/bundler_fix
Brent Cook 2015-05-01 11:40:49 -05:00
commit c3438955d4
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 1 additions and 0 deletions

View File

@ -579,6 +579,7 @@ class Client
rv = nil rv = nil
while ( while (
not conn.closed? and
rv != Packet::ParseCode::Completed and rv != Packet::ParseCode::Completed and
rv != Packet::ParseCode::Error rv != Packet::ParseCode::Error
) )