Skip to content

Commit

Permalink
Clarify comparison test for a change in header table size.
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-r12 committed Jul 15, 2016
1 parent f91f977 commit 2399b40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public synchronized void connectionPreface() throws IOException {
public synchronized void applyAndAckSettings(Settings peerSettings) throws IOException {
if (closed) throw new IOException("closed");
this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize);
if (peerSettings.getHeaderTableSize() > -1) {
if (peerSettings.getHeaderTableSize() != -1) {
hpackWriter.setHeaderTableSizeSetting(peerSettings.getHeaderTableSize());
}
int length = 0;
Expand Down

0 comments on commit 2399b40

Please sign in to comment.