Skip to content

Commit f2ece3f

Browse files
committed
Address comments.
1 parent 7efef79 commit f2ece3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public final H2ServerBootstrap setVersionPolicy(final HttpVersionPolicy versionP
163163
* @return this instance.
164164
*/
165165
public final H2ServerBootstrap setH2Config(final H2Config h2Config) {
166-
Args.check(!h2Config.isPushEnabled(), "A server MUST NOT set enable_push according to RFC-9113 6.5.2.");
166+
Args.check(!h2Config.isPushEnabled(), "A server MUST NOT set enable_push to true");
167167
this.h2Config = h2Config;
168168
return this;
169169
}
@@ -212,7 +212,6 @@ public final H2ServerBootstrap setIOSessionDecorator(final Decorator<IOSession>
212212
this.ioSessionDecorator = ioSessionDecorator;
213213
return this;
214214
}
215-
216215
/**
217216
* Sets {@link IOReactorMetricsListener} instance.
218217
*

0 commit comments

Comments
 (0)