Skip to content

Commit

Permalink
- Fix JENKINS-13703
Browse files Browse the repository at this point in the history
  • Loading branch information
felfert committed Mar 12, 2013
1 parent b844d0d commit f5ee736
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/java/winstone/ajp13/Ajp13IncomingPacket.java
Expand Up @@ -158,8 +158,19 @@ public byte parsePacket(String encoding) throws IOException {
attName = readString(di,encoding);
}

String attValue = readString (di,encoding);
if (type==0x0B) {
int intValue = di.readShort();
// SSL key size is not used. Furthermore, the map
// is supposed to contain only Strings anyway. So:
// just ignore this.
// this.attributes.put(attName, attValue);
Logger.log(Logger.FULL_DEBUG, Ajp13Listener.AJP_RESOURCES,
"Ajp13IncomingPacket.Attribute", attName,
intValue);
continue;
}

String attValue = readString (di,encoding);
this.attributes.put(attName, attValue);
Logger.log(Logger.FULL_DEBUG, Ajp13Listener.AJP_RESOURCES,
"Ajp13IncomingPacket.Attribute", attName,
Expand Down

0 comments on commit f5ee736

Please sign in to comment.