Land #5169, stop reading when the HTTP socket is closed
commit
c3438955d4
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue