235236237238239240241242243244245
String upgrade = getHeader("Upgrade"); if (upgrade != null) { os.printLatin1("\r\nUpgrade: "); os.printLatin1NoLf(upgrade); } os.printLatin1("\r\nConnection: Upgrade"); _request.killKeepalive("duplex/upgrade");
314315316317318319320321322323324
if (isUpgrade && "Upgrade".equalsIgnoreCase(key)) continue; os.write('\r'); os.write('\n'); os.printLatin1NoLf(key); os.write(':'); os.write(' '); os.printLatin1NoLf((String) _headerValues.get(i)); if (debug) {
317318319320321322323324325326327
os.write('\r'); os.write('\n'); os.printLatin1NoLf(key); os.write(':'); os.write(' '); os.printLatin1NoLf((String) _headerValues.get(i)); if (debug) { log.fine(_request.dbgId() + "" + key + ": " + _headerValues.get(i)); }