[Modify] Add it
This commit is contained in:
parent
638daa2a21
commit
3b00f0d01d
@ -60,6 +60,7 @@ namespace WebSocketSharp.Net
|
|||||||
private static readonly byte[] _100continue;
|
private static readonly byte[] _100continue;
|
||||||
private string[] _acceptTypes;
|
private string[] _acceptTypes;
|
||||||
private bool _chunked;
|
private bool _chunked;
|
||||||
|
private HttpConnection _connection;
|
||||||
private Encoding _contentEncoding;
|
private Encoding _contentEncoding;
|
||||||
private long _contentLength;
|
private long _contentLength;
|
||||||
private HttpListenerContext _context;
|
private HttpListenerContext _context;
|
||||||
@ -93,6 +94,8 @@ namespace WebSocketSharp.Net
|
|||||||
internal HttpListenerRequest (HttpListenerContext context)
|
internal HttpListenerRequest (HttpListenerContext context)
|
||||||
{
|
{
|
||||||
_context = context;
|
_context = context;
|
||||||
|
|
||||||
|
_connection = context.Connection;
|
||||||
_contentLength = -1;
|
_contentLength = -1;
|
||||||
_headers = new WebHeaderCollection ();
|
_headers = new WebHeaderCollection ();
|
||||||
_identifier = Guid.NewGuid ();
|
_identifier = Guid.NewGuid ();
|
||||||
|
Loading…
Reference in New Issue
Block a user