1 write to m_HttpContext
System (1)
net\System\Net\_ListenerResponseStream.cs (1)
26
m_HttpContext
= httpContext;
36 references to m_HttpContext
System (36)
net\System\Net\_ListenerResponseStream.cs (36)
32
if (!
m_HttpContext
.Response.ComputedHeaders) {
33
flags =
m_HttpContext
.Response.ComputeHeaders();
36
UnsafeNclNativeMethods.HttpApi.HTTP_VERB method =
m_HttpContext
.GetKnownMethod();
37
m_LeftToWrite = method != UnsafeNclNativeMethods.HttpApi.HTTP_VERB.HttpVerbHEAD ?
m_HttpContext
.Response.ContentLength64 : 0;
73
return
m_HttpContext
;
152
bool sentHeaders =
m_HttpContext
.Response.SentHeaders;
156
statusCode =
m_HttpContext
.Response.SendHeaders(null, null, flags, false);
162
if (
m_HttpContext
.Response.BoundaryType == BoundaryType.Chunked) {
186
statusCode =
m_HttpContext
.Response.SendHeaders(&dataChunk, null, flags, false);
193
m_HttpContext
.RequestQueueHandle,
194
m_HttpContext
.RequestId,
205
if (
m_HttpContext
.Listener.IgnoreWriteExceptions) {
224
m_HttpContext
.Abort();
259
bool sentHeaders =
m_HttpContext
.Response.SentHeaders;
260
HttpResponseStreamAsyncResult asyncResult = new HttpResponseStreamAsyncResult(this, state, callback, buffer, offset, size,
m_HttpContext
.Response.BoundaryType==BoundaryType.Chunked, sentHeaders);
263
UpdateAfterWrite((uint)((
m_HttpContext
.Response.BoundaryType == BoundaryType.Chunked) ? 0 : size));
267
statusCode =
m_HttpContext
.Response.SendHeaders(null, asyncResult, flags, false);
272
m_HttpContext
.EnsureBoundHandle();
275
m_HttpContext
.RequestQueueHandle,
276
m_HttpContext
.RequestId,
293
m_HttpContext
.Abort();
299
if (
m_HttpContext
.Listener.IgnoreWriteExceptions && sentHeaders) {
306
m_HttpContext
.Abort();
349
m_HttpContext
.Abort();
390
bool sentHeaders =
m_HttpContext
.Response.SentHeaders;
397
if ((
m_HttpContext
.Response.BoundaryType==BoundaryType.Chunked ||
m_HttpContext
.Response.BoundaryType==BoundaryType.None) && (String.Compare(
m_HttpContext
.Request.HttpMethod, "HEAD", StringComparison.OrdinalIgnoreCase)!=0)) {
398
if (
m_HttpContext
.Response.BoundaryType==BoundaryType.None) {
404
if (
m_HttpContext
.Response.BoundaryType==BoundaryType.Chunked) {
412
statusCode =
m_HttpContext
.Response.SendHeaders(pDataChunk, null, flags, false);
419
m_HttpContext
.RequestQueueHandle,
420
m_HttpContext
.RequestId,
431
if (
m_HttpContext
.Listener.IgnoreWriteExceptions) {
440
statusCode =
m_HttpContext
.Response.SendHeaders(null, null, flags, false);
446
m_HttpContext
.Abort();