示例#1
0
 internal override void EndOfRequest()
 {
     FlushCachedResponse(true);
     if (_headers != null)
     {
         _headers.Dispose(); _headers = null;
     }
     if (_status != null)
     {
         _status.Dispose(); _status = null;
     }
     CallEndOfRequestCallbackOnceAfterAllIoComplete();
 }
 public override void EndOfRequest()
 {
     this.FlushCachedResponse(true);
     if (this._headers != null)
     {
         this._headers.Dispose();
         this._headers = null;
     }
     if (this._status != null)
     {
         this._status.Dispose();
         this._status = null;
     }
     this.CallEndOfRequestCallbackOnceAfterAllIoComplete();
 }
    public override void EndOfRequest() {
        FlushCachedResponse(true);

        // recycle the headers and status buffers
        if (_headers != null) {
            _headers.Dispose();
            _headers = null;
        }

        if (_status != null) {
            _status.Dispose();
            _status = null;
        }
        CallEndOfRequestCallbackOnceAfterAllIoComplete();
    }
 public override void EndOfRequest()
 {
     this.FlushCachedResponse(true);
     if (this._headers != null)
     {
         this._headers.Dispose();
         this._headers = null;
     }
     if (this._status != null)
     {
         this._status.Dispose();
         this._status = null;
     }
     this.CallEndOfRequestCallbackOnceAfterAllIoComplete();
 }