All Packages Class Hierarchy This Package Previous Next Index
Class lava.net.mmp.MMPInput
java.lang.Object
|
+----java.lang.Thread
|
+----lava.net.mmp.MMPInput
- public class MMPInput
- extends Thread
-
END_PACKET
-
-
maxBodyCount
- The maximum length of the body per packet.
-
maxLineCount
- The maximum amount of header lines per packet.
-
maxLineLength
- The maximum length of an header line.
-
silenceOnConnectTimeout
- The maximum time in milliseconds a new connected stream is
allowed to say nothing until it'll get closed.
-
MMPInput(MMPDispatcherPeer, VariableNormalizer, UNA, InputStream)
-
-
close()
-
-
run()
-
maxLineLength
public static int maxLineLength
- The maximum length of an header line.
This is to prevent denial of service.
Sizes smaller than 5 are considered infinite.
maxLineCount
public static int maxLineCount
- The maximum amount of header lines per packet.
This is to prevent denial of service.
Sizes smaller than 5 are considered infinite.
maxBodyCount
public static int maxBodyCount
- The maximum length of the body per packet.
This is to prevent denial of service.
Sizes smaller than 5 are considered infinite.
silenceOnConnectTimeout
public static long silenceOnConnectTimeout
- The maximum time in milliseconds a new connected stream is
allowed to say nothing until it'll get closed.
This is to prevent denial of service.
Numbers smaller than 1 are considered infinite.
END_PACKET
public static final char END_PACKET
MMPInput
public MMPInput(MMPDispatcherPeer peer,
VariableNormalizer normalizer,
UNA remote,
InputStream in)
close
public synchronized void close() throws IOException
run
public void run()
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index