Skip to content

Commit 1eef1dc

Browse files
committed
Additional fix for BZ 69614
1 parent cb9fe80 commit 1eef1dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

java/org/apache/coyote/http2/Stream.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,12 @@ public final void emitHeader(String name, String value) throws HpackException {
456456
setIncremental(p.getIncremental());
457457
} catch (IOException ioe) {
458458
// Not possible with StringReader
459+
} catch (IllegalArgumentException iae) {
460+
// Invalid priority header field values should be ignored
461+
if (log.isTraceEnabled()) {
462+
log.trace(sm.getString("http2Parser.processFramePriorityUpdate.invalid", getConnectionId(),
463+
getIdAsString()), iae);
464+
}
459465
}
460466
break;
461467
}

0 commit comments

Comments
 (0)