Skip to content
Permalink
Browse files

Merge pull request #8 from felfert/master

[FIXED JENKINS-5753] Winstone AJP13 SSL problem
  • Loading branch information
kohsuke committed Jul 17, 2013
2 parents bb642ba + f5ee736 commit 38a84316b449b3c3927beb01ade3f6552682d0b0
Showing with 12 additions and 1 deletion.
  1. +12 −1 src/java/winstone/ajp13/Ajp13IncomingPacket.java
@@ -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,

0 comments on commit 38a8431

Please sign in to comment.