Skip to content

Commit

Permalink
Add 'of' to Connection JavaDoc. (square#3579)
Browse files Browse the repository at this point in the history
  • Loading branch information
naturalwarren authored and swankjesse committed Sep 4, 2017
1 parent 2696b4a commit c323eb2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions okhttp/src/main/java/okhttp3/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
*
* <h3>Connection Reuse</h3>
*
* <p>Each connection can carry a varying number streams, depending on the underlying protocol being
* used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
* number of streams, dynamically configured with {@code SETTINGS_MAX_CONCURRENT_STREAMS}. A
* connection currently carrying zero streams is an idle stream. We keep it alive because reusing an
* existing connection is typically faster than establishing a new one.
* <p>Each connection can carry a varying number of streams, depending on the underlying protocol
* being used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can
* carry any number of streams, dynamically configured with {@code SETTINGS_MAX_CONCURRENT_STREAMS}.
* A connection currently carrying zero streams is an idle stream. We keep it alive because reusing
* an existing connection is typically faster than establishing a new one.
*
* <p>When a single logical call requires multiple streams due to redirects or authorization
* challenges, we prefer to use the same physical connection for all streams in the sequence. There
Expand Down

0 comments on commit c323eb2

Please sign in to comment.