141 references to HttpListener
System (141)
net\System\Net\_ListenerAsyncResult.cs (1)
102
if (Logging.On) Logging.PrintError(Logging.
HttpListener
, ValidationHelper.HashString(asyncResult), "IOCompleted", exception.ToString());
net\System\Net\_ListenerRequestStream.cs (16)
107
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Read", "");
119
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Read", "dataRead:0");
167
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "Read", exception);
172
if(Logging.On)Logging.Dump(Logging.
HttpListener
, this, "Read", buffer, offset, (int)dataRead);
174
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Read", "dataRead:" + dataRead);
189
if(Logging.On) Logging.Enter(Logging.
HttpListener
, this, "BeginRead", "");
201
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "BeginRead", "");
259
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "BeginRead", e);
272
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "BeginRead", exception);
284
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "BeginRead", "");
289
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "EndRead", "");
307
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "EndRead", exception);
316
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "EndRead", "");
336
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Dispose", "");
344
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Dispose", "");
405
if(Logging.On)Logging.Dump(Logging.
HttpListener
, asyncResult, "Callback", (IntPtr)asyncResult.m_pPinnedBuffer, (int)numBytes);
net\System\Net\_ListenerResponseStream.cs (19)
128
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Write", "");
141
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Write", "");
222
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "Write", exception);
228
if(Logging.On)Logging.Dump(Logging.
HttpListener
, this, "Write", buffer, offset, (int)dataToWrite);
229
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Write", "");
247
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "BeginWrite", "");
290
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "BeginWrite", e);
304
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "BeginWrite", exception);
323
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "BeginWrite", "");
328
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "EndWrite", "");
347
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "EndWrite", exception);
356
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "EndWrite", "");
376
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Close", "");
382
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
392
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
445
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "Close", exception);
455
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Dispose", "");
598
if (Logging.On) { Logging.Dump(Logging.
HttpListener
, asyncResult, "Callback", IntPtr.Zero, 0); }
602
if (Logging.On) { for (int i = 0; i < asyncResult.m_DataChunks.Length; i++) { Logging.Dump(Logging.
HttpListener
, asyncResult, "Callback", (IntPtr)asyncResult.m_DataChunks[0].pBuffer, (int)asyncResult.m_DataChunks[0].BufferLength); } }
net\System\Net\_ServiceNameStore.cs (4)
58
Logging.PrintInfo(Logging.
HttpListener
, "ServiceNameStore#" +
71
Logging.PrintInfo(Logging.
HttpListener
, "ServiceNameStore#" +
94
Logging.PrintInfo(Logging.
HttpListener
, "ServiceNameStore#" +
99
Logging.PrintInfo(Logging.
HttpListener
, "ServiceNameStore#" +
net\System\Net\HttpListener.cs (63)
366
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "HttpListener", "");
384
if (Logging.On) Logging.Exit(Logging.
HttpListener
, this, "HttpListener", "");
515
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "HttpSetUrlGroupProperty:: Property: " +
625
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "AddPrefix", "uriPrefix:" + uriPrefix);
687
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "AddPrefix", exception);
690
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "AddPrefix", "prefix:" + registeredPrefix);
696
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Prefixes_get", "");
706
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "RemovePrefix", "uriPrefix:" + uriPrefix);
725
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "RemovePrefix", exception);
728
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "RemovePrefix", "uriPrefix:" + uriPrefix);
734
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "RemoveAll", "");
752
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "RemoveAll", "");
833
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "SetupV2Config", exception);
839
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Start", "");
877
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "Start", exception);
880
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Start", "");
907
if (Logging.On) Logging.PrintError(Logging.
HttpListener
, this, "CloseV2Config", SR.GetString(SR.net_listener_close_urlgroup_error, statusCode));
953
if (Logging.On) Logging.PrintError(Logging.
HttpListener
, this, "DetachRequestQueueFromUrlGroup", SR.GetString(SR.net_listener_detach_error, statusCode));
958
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Stop", "");
980
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "Stop", exception);
983
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Stop", "");
1021
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Abort", "");
1039
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "Abort", exception);
1043
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Abort", "");
1049
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Close", "");
1054
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "Close", exception);
1057
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
1069
if (Logging.On) Logging.Enter(Logging.
HttpListener
, this, "Dispose", "");
1081
if (Logging.On) Logging.Exception(Logging.
HttpListener
, this, "Dispose", exception);
1085
if (Logging.On) Logging.Exit(Logging.
HttpListener
, this, "Dispose", "");
1140
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "GetContext", "");
1225
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "GetContext", exception);
1233
if (Logging.On) Logging.Exit(Logging.
HttpListener
, this, "GetContext", "HttpListenerContext#" + ValidationHelper.HashString(httpContext) + " RequestTraceIdentifier#" + (httpContext != null ? httpContext.Request.RequestTraceIdentifier.ToString() : "<null>"));
1250
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "BeginGetContext", "");
1270
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "BeginGetContext", exception);
1273
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "BeginGetContext", "IAsyncResult#" + ValidationHelper.HashString(asyncResult));
1280
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "EndGetContext", "IAsyncResult#" + ValidationHelper.HashString(asyncResult));
1302
if(Logging.On)Logging.Exception(Logging.
HttpListener
, this, "EndGetContext", exception);
1306
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "EndGetContext", httpContext == null ? "<no context>" : "HttpListenerContext#" + ValidationHelper.HashString(httpContext) + " RequestTraceIdentifier#" + httpContext.Request.RequestTraceIdentifier);
1420
if (Logging.On) Logging.PrintError(Logging.
HttpListener
, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_delegate_exception, exception));
1487
if (Logging.On) Logging.PrintWarning(Logging.
HttpListener
, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_unsupported_authentication_scheme, authorizationHeader , authenticationScheme));
1499
if (Logging.On) Logging.PrintWarning(Logging.
HttpListener
, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_unmatched_authentication_scheme, ValidationHelper.ToString(authenticationScheme), (authorizationHeader == null ? "<null>" : authorizationHeader)));
1780
if(Logging.On)Logging.PrintWarning(Logging.
HttpListener
, this, "HandleAuthentication", SR.GetString(SR.net_log_listener_create_valid_identity_failed));
2028
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_cbt_disabled));
2034
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_cbt_http));
2041
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_cbt_platform));
2047
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_cbt_trustedproxy));
2054
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_cbt));
2065
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_spn_kerberos));
2075
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_spn_disabled));
2084
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_spn_cbt));
2094
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_spn_platform));
2108
Logging.PrintInfo(Logging.
HttpListener
, this,
2117
Logging.PrintInfo(Logging.
HttpListener
, this,
2127
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_no_spn_loopback));
2136
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_spn, clientSpn));
2147
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_spn_passed));
2151
Logging.PrintInfo(Logging.
HttpListener
, this, SR.GetString(SR.net_log_listener_spn_failed));
2155
Logging.PrintWarning(Logging.
HttpListener
, this, "CheckSpn",
2160
Logging.PrintInfo(Logging.
HttpListener
, this,
2165
Logging.PrintInfo(Logging.
HttpListener
, this, "\t" + serviceName);
2440
Logging.Enter(Logging.
HttpListener
, "HttpListener#" + ValidationHelper.HashString(this) +
2495
Logging.PrintError(Logging.
HttpListener
, "HttpListener#" +
net\System\Net\HttpListenerContext.cs (7)
35
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, ".ctor", "httpListener#" + ValidationHelper.HashString(httpListener) + " requestBlob=" + ValidationHelper.HashString((IntPtr) memoryBlob.RequestBlob));
59
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Response", "");
64
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Response", "");
194
if(Logging.On) Logging.Enter(Logging.
HttpListener
, this, "Close()", "");
217
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
221
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Abort", "");
232
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Abort", "");
net\System\Net\HttpListenerRequest.cs (13)
252
if (Logging.On) Logging.PrintInfo(Logging.
HttpListener
, this, ".ctor", "httpContext#" + ValidationHelper.HashString(httpContext) + " memoryBlob# " + ValidationHelper.HashString((IntPtr) memoryBlob.RequestBlob));
253
if(Logging.On)Logging.Associate(Logging.
HttpListener
, this, httpContext);
282
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, ".ctor", "httpContext#"+ ValidationHelper.HashString(httpContext)+ " RequestUri:" + ValidationHelper.ToString(RequestUri) + " Content-Length:" + ValidationHelper.ToString(ContentLength64) + " HTTP Method:" + ValidationHelper.ToString(HttpMethod));
293
Logging.PrintInfo(Logging.
HttpListener
, this, ".ctor", sb.ToString());
444
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "InputStream_get", "");
448
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "InputStream_get", "");
606
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "GetClientCertificate", "");
611
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "GetClientCertificate", ValidationHelper.ToString(m_ClientCertificate));
617
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "BeginGetClientCertificate", "");
622
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "EndGetClientCertificate", "");
639
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "EndGetClientCertificate", ValidationHelper.HashString(clientCertificate));
772
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Close", "");
780
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
net\System\Net\HttpListenerRequestUriBuilder.cs (1)
501
Logging.PrintWarning(Logging.
HttpListener
, this, methodName, SR.GetString(message, args));
net\System\Net\HttpListenerResponse.cs (15)
42
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, ".ctor", "");
54
if(Logging.On)Logging.Associate(Logging.
HttpListener
, this, httpContext);
181
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "CopyFrom", "templateResponse#"+ValidationHelper.HashString(templateResponse));
264
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "AddHeader", " name="+name+" value="+value);
269
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "AppendHeader", " name="+name+" value="+value);
274
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "Redirect", " url="+url);
284
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "AppendCookie", " cookie#"+ValidationHelper.HashString(cookie));
294
if(Logging.On)Logging.PrintInfo(Logging.
HttpListener
, this, "SetCookie", " cookie#"+ValidationHelper.HashString(cookie));
338
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "abort", "");
347
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "abort", "");
352
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Close", " responseEntity="+ValidationHelper.HashString(responseEntity)+" willBlock="+willBlock);
382
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
387
if(Logging.On)Logging.Enter(Logging.
HttpListener
, this, "Close", "");
392
if(Logging.On)Logging.Exit(Logging.
HttpListener
, this, "Close", "");
498
Logging.PrintInfo(Logging.
HttpListener
, this, ".ctor", sb.ToString());
net\System\Net\HttpSysSettings.cs (1)
116
Logging.PrintWarning(Logging.
HttpListener
, typeof(HttpSysSettings), methodName,
net\System\Net\UnsafeNativeMethods.cs (1)
2954
if (Logging.On) Logging.PrintWarning(Logging.
HttpListener
, SR.GetString(SR.net_listener_cbt_not_supported));