Skip to content

Commit

Permalink
tirvial updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Jul 14, 2022
1 parent 868747c commit 9358b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,10 @@ private void h1AcquireStream(HttpRequestBase request,
* Request a HttpStream from StreamManager. If the streamManager is made with
* HTTP/2 connection under the hood, it will be Http2Stream.
*
* @param request
* @param streamHandler
* @param request HttpRequestBase. The Request to make to the Server.
* @param streamHandler HttpStreamBaseResponseHandler. The Stream Handler to be called from the Native EventLoop
* @return A future for a Http2Stream that will be completed when the stream is
* acquired.
* @throws CrtRuntimeException
*/
public CompletableFuture<HttpStreamBase> acquireStream(HttpRequestBase request,
HttpStreamBaseResponseHandler streamHandler) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* instance
*/
public class HttpStreamManagerOptions {
public static final int DEFAULT_MAX_WINDOW_SIZE = Integer.MAX_VALUE;
public static final int DEFAULT_MAX = Integer.MAX_VALUE;
public static final int DEFAULT_MAX_CONNECTIONS = 2;

private HttpClientConnectionManagerOptions h1ConnectionManagerOptions;
private Http2StreamManagerOptions h2StreamManagerOptions;
Expand Down

0 comments on commit 9358b08

Please sign in to comment.