[Modify] Move it
This commit is contained in:
parent
8d69e8e87b
commit
7f856131eb
@ -61,7 +61,7 @@ namespace WebSocketSharp.Net
|
|||||||
#region Private Fields
|
#region Private Fields
|
||||||
|
|
||||||
private byte[] _buffer;
|
private byte[] _buffer;
|
||||||
private const int _bufferLength = 8192;
|
private static readonly int _bufferLength;
|
||||||
private HttpListenerContext _context;
|
private HttpListenerContext _context;
|
||||||
private bool _contextRegistered;
|
private bool _contextRegistered;
|
||||||
private StringBuilder _currentLine;
|
private StringBuilder _currentLine;
|
||||||
@ -91,6 +91,7 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
static HttpConnection ()
|
static HttpConnection ()
|
||||||
{
|
{
|
||||||
|
_bufferLength = 8192;
|
||||||
_maxInputLength = 32768;
|
_maxInputLength = 32768;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user