class org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection extends org.eclipse.jetty.io.AbstractConnection implements org.eclipse.jetty.io.Connection$UpgradeFrom, org.eclipse.jetty.io.Connection$UpgradeTo
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection
super_class: org.eclipse.jetty.io.AbstractConnection
{
private static final int CR_INDEX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int LF_INDEX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private final org.eclipse.jetty.server.Connector _connector;
descriptor: Lorg/eclipse/jetty/server/Connector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.ConnectionFactory _next;
descriptor: Lorg/eclipse/jetty/server/ConnectionFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.StringBuilder _builder;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String[] _fields;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int _index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int _length;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>(org.eclipse.jetty.io.EndPoint, org.eclipse.jetty.server.Connector, org.eclipse.jetty.server.ConnectionFactory);
descriptor: (Lorg/eclipse/jetty/io/EndPoint;Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/server/ConnectionFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokeinterface org.eclipse.jetty.server.Connector.getExecutor:()Ljava/util/concurrent/Executor;
invokespecial org.eclipse.jetty.io.AbstractConnection.<init>:(Lorg/eclipse/jetty/io/EndPoint;Ljava/util/concurrent/Executor;)V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._builder:Ljava/lang/StringBuilder;
2: aload 0
bipush 6
anewarray java.lang.String
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
3: aload 0
aload 2
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._connector:Lorg/eclipse/jetty/server/Connector;
4: aload 0
aload 3
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._next:Lorg/eclipse/jetty/server/ConnectionFactory;
5: aload 0
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._connector:Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getInputBufferSize:()I
iconst_1
invokeinterface org.eclipse.jetty.io.ByteBufferPool.acquire:(IZ)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
0 7 1 endp Lorg/eclipse/jetty/io/EndPoint;
0 7 2 connector Lorg/eclipse/jetty/server/Connector;
0 7 3 next Lorg/eclipse/jetty/server/ConnectionFactory;
MethodParameters:
Name Flags
endp
connector
next
public void onFillable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 15
1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 onFillable current index = {}"
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: goto 15
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.EndPoint.fill:(Ljava/nio/ByteBuffer;)I
istore 1
start local 1 4: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 6
5: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 filled buffer with {} bytes"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
6: StackMap locals: int
StackMap stack:
iload 1
ifge 10
7: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._connector:Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
8: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.shutdownOutput:()V
9: return
10: StackMap locals:
StackMap stack:
iload 1
ifne 13
11: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.fillInterested:()V
12: return
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.parse:()Z
ifeq 15
14: goto 16
end local 1 15: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
bipush 7
if_icmplt 3
16: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 18
17: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 onFillable parsing done, now upgrading"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.upgrade:()V
19: goto 23
20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 21: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 error for {}"
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 1
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
22: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.releaseAndClose:()V
end local 1 23: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
4 15 1 fill I
21 23 1 x Ljava/lang/Throwable;
Exception table:
from to target type
2 9 20 Class java.lang.Throwable
10 12 20 Class java.lang.Throwable
13 19 20 Class java.lang.Throwable
public void onOpen();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.io.AbstractConnection.onOpen:()V
1: goto 7
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.parse:()Z
ifne 7
3: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 5
4: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 onOpen parsing ran out of bytes, marking as fillInterested"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.fillInterested:()V
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
bipush 7
if_icmplt 2
8: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 10
9: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 onOpen parsing done, now upgrading"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.upgrade:()V
11: goto 15
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 13: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 error for {}"
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 1
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.releaseAndClose:()V
end local 1 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
13 15 1 x Ljava/lang/Throwable;
Exception table:
from to target type
1 6 12 Class java.lang.Throwable
7 11 12 Class java.lang.Throwable
public java.nio.ByteBuffer onUpgradeFrom();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 6
1: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 2: aload 1
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
3: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
4: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._connector:Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
5: aload 1
areturn
end local 1 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
2 6 1 unconsumed Ljava/nio/ByteBuffer;
public void onUpgradeTo(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 copying unconsumed buffer {}"
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.toDetailString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.append:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
0 4 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
private boolean parse();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 parsing {}"
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.toDetailString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._length:I
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._length:I
3: goto 22
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
istore 1
start local 1 5: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
bipush 6
if_icmpge 16
6: iload 1
bipush 32
if_icmpeq 7
iload 1
bipush 13
if_icmpne 12
7: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
aload 0
dup
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
dup_x1
iconst_1
iadd
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
8: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
9: iload 1
bipush 13
if_icmpne 22
10: aload 0
bipush 6
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
11: goto 22
12: StackMap locals:
StackMap stack:
iload 1
bipush 32
if_icmpge 14
13: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Proxy v1 bad character "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._builder:Ljava/lang/StringBuilder;
iload 1
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: goto 22
16: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpne 21
17: aload 0
bipush 7
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._index:I
18: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 20
19: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 parsing is done"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
iconst_1
ireturn
21: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Proxy v1 bad CRLF "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 22: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 4
23: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 25
24: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 parsing requires more bytes"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
5 22 1 b B
Exceptions:
throws java.io.IOException
private void releaseAndClose();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 releasing buffer and closing"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._connector:Lorg/eclipse/jetty/server/Connector;
invokeinterface org.eclipse.jetty.server.Connector.getByteBufferPool:()Lorg/eclipse/jetty/io/ByteBufferPool;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.ByteBufferPool.release:(Ljava/nio/ByteBuffer;)V
3: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.close:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
private void upgrade();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._length:I
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
isub
istore 1
start local 1 1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 pre-upgrade packet length (including CRLF) is {}"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 1
bipush 110
if_icmplt 7
4: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 PROXY line too long {} for {}"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.releaseAndClose:()V
6: return
7: StackMap locals:
StackMap stack:
ldc "PROXY"
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
8: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 not PROXY protocol for {}"
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
9: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.releaseAndClose:()V
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
iconst_2
aaload
astore 2
start local 2 12: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
iconst_4
aaload
astore 3
start local 3 13: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
iconst_3
aaload
astore 4
start local 4 14: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
iconst_5
aaload
astore 5
start local 5 15: ldc "UNKNOWN"
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._fields:[Ljava/lang/String;
iconst_1
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
istore 6
start local 6 16: iload 6
ifeq 21
17: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.getRemoteAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 2
18: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.getRemoteAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 3
19: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.getLocalAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 4
20: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.getLocalAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 5
21: StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection int java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
new java.net.InetSocketAddress
dup
aload 2
aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
astore 7
start local 7 22: new java.net.InetSocketAddress
dup
aload 4
aload 5
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
astore 8
start local 8 23: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 25
24: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "Proxy v1 next protocol '{}' for {} r={} l={}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._next:Lorg/eclipse/jetty/server/ConnectionFactory;
aastore
dup
iconst_1
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aastore
dup
iconst_2
aload 7
aastore
dup
iconst_3
aload 8
aastore
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
25: StackMap locals: java.net.InetSocketAddress java.net.InetSocketAddress
StackMap stack:
new org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint
dup
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 7
aload 8
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint.<init>:(Lorg/eclipse/jetty/io/EndPoint;Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)V
astore 9
start local 9 26: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._next:Lorg/eclipse/jetty/server/ConnectionFactory;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection._connector:Lorg/eclipse/jetty/server/Connector;
aload 9
invokestatic org.eclipse.jetty.server.ProxyConnectionFactory.upgradeToConnectionFactory:(Lorg/eclipse/jetty/server/ConnectionFactory;Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/io/EndPoint;)V
27: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection;
1 28 1 proxyLineLength I
12 28 2 srcIP Ljava/lang/String;
13 28 3 srcPort Ljava/lang/String;
14 28 4 dstIP Ljava/lang/String;
15 28 5 dstPort Ljava/lang/String;
16 28 6 unknown Z
22 28 7 remote Ljava/net/InetSocketAddress;
23 28 8 local Ljava/net/InetSocketAddress;
26 28 9 endPoint Lorg/eclipse/jetty/io/EndPoint;
}
SourceFile: "ProxyConnectionFactory.java"
NestHost: org.eclipse.jetty.server.ProxyConnectionFactory
InnerClasses:
public abstract UpgradeFrom = org.eclipse.jetty.io.Connection$UpgradeFrom of org.eclipse.jetty.io.Connection
public abstract UpgradeTo = org.eclipse.jetty.io.Connection$UpgradeTo of org.eclipse.jetty.io.Connection
public ProxyEndPoint = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint of org.eclipse.jetty.server.ProxyConnectionFactory
private ProxyV1ConnectionFactory = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory of org.eclipse.jetty.server.ProxyConnectionFactory
private ProxyProtocolV1Connection = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection of org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory