public void Dispose() { this.Socket = null; this.HttpObjectParser = null; this.HttpInboundSocketPipe = null; this.ReceiveHeaderBuffer = null; this.ReceiveBuffer = null; }
public HttpReaderState(HttpInboundSocketPipe httpInboundSocketPipe, Socket socket, HttpObjectParser httpObjectParser) { this.HttpInboundSocketPipe = httpInboundSocketPipe; this.Socket = socket; this.HttpObjectParser = httpObjectParser; this.ReceiveHeaderBuffer = new byte[Max_Header_Size]; this.ReceiveBuffer = new byte[Buffer_Size]; this.TotalReceived = 0; }