File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
okhttp/src/main/java/okhttp3 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 48
48
*
49
49
* <h3>Connection Reuse</h3>
50
50
*
51
- * <p>Each connection can carry a varying number streams, depending on the underlying protocol being
52
- * used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
53
- * number of streams, dynamically configured with {@code SETTINGS_MAX_CONCURRENT_STREAMS}. A
54
- * connection currently carrying zero streams is an idle stream. We keep it alive because reusing an
55
- * existing connection is typically faster than establishing a new one.
51
+ * <p>Each connection can carry a varying number of streams, depending on the underlying protocol
52
+ * being used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can
53
+ * carry any number of streams, dynamically configured with {@code SETTINGS_MAX_CONCURRENT_STREAMS}.
54
+ * A connection currently carrying zero streams is an idle stream. We keep it alive because reusing
55
+ * an existing connection is typically faster than establishing a new one.
56
56
*
57
57
* <p>When a single logical call requires multiple streams due to redirects or authorization
58
58
* challenges, we prefer to use the same physical connection for all streams in the sequence. There
You can’t perform that action at this time.
0 commit comments