mirror of
https://github.com/square/okhttp.git
synced 2026-01-25 16:01:38 +03:00
Merge pull request #246 from kriswuollett/no_fin_on_closed_stream
Stopped sending final empty frame on stream initiated in sender half-closed state.
This commit is contained in:
@@ -670,7 +670,9 @@ public final class SpdyStream {
|
||||
}
|
||||
closed = true;
|
||||
}
|
||||
writeFrame(true);
|
||||
if (!out.finished) {
|
||||
writeFrame(true);
|
||||
}
|
||||
connection.flush();
|
||||
cancelStreamIfNecessary();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user