Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6e54bf

Browse files
authored
Avoid hanging on takeHeaders (incorrect 103 handling) when response body is empty. (#7954) (#8054)
(cherry picked from commit7308264)
1 parent4190ca8 commita6e54bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@ class Http2Stream internal constructor(
258258
if (this.errorCode!=null) {
259259
returnfalse
260260
}
261-
if (source.finished&& sink.finished) {
262-
returnfalse
263-
}
264261
this.errorCode= errorCode
265262
this.errorException= errorException
266263
notifyAll()
264+
if (source.finished&& sink.finished) {
265+
returnfalse
266+
}
267267
}
268268
connection.removeStream(id)
269269
returntrue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp