NextProtoNego.remove(JsseXnioSsl.getSslEngine((SslConnection) channel));
//cool, we have a spdy connection.
SpdyChannel channel = new SpdyChannel(this.channel, bufferPool, buffer, heapBufferPool);
free = false;
channel.getReceiveSetter().set(new SpdyReceiveListener(rootHandler, getUndertowOptions(), bufferSize));
channel.resumeReceives();
return;
} else if (HTTP_1_1.equals(selected) || res > 0) {
NextProtoNego.remove(JsseXnioSsl.getSslEngine((SslConnection) channel));
if (delegate == null) {
UndertowLogger.REQUEST_IO_LOGGER.couldNotInitiateSpdyConnection();