1649 references to ValidationHelper
System (1649)
net\System\Net\_AuthenticationManager2.cs (4)
109
+
ValidationHelper
.HashString(request) + " credentials:" +
ValidationHelper
.HashString(credentials));
133
+
ValidationHelper
.ToString(moduleName));
181
+ " returned authorization:" +
ValidationHelper
.HashString(authorization));
net\System\Net\_AuthenticationManagerDefault.cs (4)
236
+
ValidationHelper
.HashString(request) + " credentials:" +
ValidationHelper
.HashString(credentials));
261
+
ValidationHelper
.ToString(moduleName));
310
+
ValidationHelper
.HashString(authorization));
net\System\Net\_AuthenticationState.cs (42)
53
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::GetSecurityContext(" + module.AuthenticationType + ") returning NTAuthentication#" +
ValidationHelper
.HashString((object)module==(object)Module ? SecurityContext : null));
58
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::SetSecurityContext(" + module.AuthenticationType + ") was NTAuthentication#" +
ValidationHelper
.HashString(SecurityContext) + " now NTAuthentication#" +
ValidationHelper
.HashString(securityContext));
153
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::GetComputeSpn() GetHostByName(host) failed:" +
ValidationHelper
.ToString(exception));
181
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::PreAuthIfNeeded() TriedPreAuth:" + TriedPreAuth.ToString() + " authInfo:" +
ValidationHelper
.HashString(authInfo));
189
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::PreAuthIfNeeded() preauth:" +
ValidationHelper
.HashString(preauth));
191
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::PreAuthIfNeeded() setting TriedPreAuth to Complete:" + preauth.Complete.ToString());
197
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::PreAuthIfNeeded() PreAuthenticate() returned exception:" + exception.Message);
213
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() httpWebRequest#" +
ValidationHelper
.HashString(httpWebRequest) + " AuthorizationHeader:" + AuthorizationHeader.ToString());
224
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() Authorization!=null Authorization.Complete:" + Authorization.Complete.ToString());
231
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() ProxyAuth cleaning up auth status");
238
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() authInfo==null Authorization#" +
ValidationHelper
.HashString(Authorization));
255
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() challenge==null Authorization#" +
ValidationHelper
.HashString(Authorization));
263
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() challenge:" + challenge);
271
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::PreAuthIfNeeded() PreAuthenticate() returned exception:" + exception.Message);
278
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() Authorization==null");
282
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() Authorization.Message==null");
288
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::AttemptAuthenticate() AuthorizationHeader:" + AuthorizationHeader + " blob: " + Authorization.Message.Length + "bytes Complete:" + Authorization.Complete.ToString());
314
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::ClearAuthReq() httpWebRequest#" +
ValidationHelper
.HashString(httpWebRequest) + " " + AuthorizationHeader.ToString() + ": " +
ValidationHelper
.ToString(httpWebRequest.Headers[AuthorizationHeader]));
338
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::Update() httpWebRequest#" +
ValidationHelper
.HashString(httpWebRequest) + " Authorization#" +
ValidationHelper
.HashString(Authorization) + " ResponseStatusCode:" + httpWebRequest.ResponseStatusCode.ToString());
353
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::Update() Complete:" + Authorization.Complete.ToString() + " Module:" +
ValidationHelper
.ToString(Module) + " challenge:" +
ValidationHelper
.ToString(challenge));
360
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::Update() skipping call to " + myModule.ToString() + ".Update() since we need to reauthenticate with the proxy");
366
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::Update() " + myModule.ToString() + ".Update() returned complete:" + complete.ToString());
369
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::Update() " + myModule.ToString() + ".Update() caught exception:" + exception.Message);
392
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::Update() handshake is Complete calling BindModule()");
400
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::ClearSession() NTAuthentication#" +
ValidationHelper
.HashString(SecurityContext));
420
GlobalLog.Print("AuthenticationState#" +
ValidationHelper
.HashString(this) + "::ClearSession() " + myModule.ToString() + ".Update() caught exception:" + exception.Message);
net\System\Net\_AutoWebProxyScriptEngine.cs (14)
213
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::GetProxies()");
282
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::GetProxies() proxies:" +
ValidationHelper
.ToString(proxyList));
313
GlobalLog.Assert(syncStatus == SyncStatus.LockOwner, "AutoWebProxyScriptEngine#{0}::Close()|Failed to acquire lock.",
ValidationHelper
.HashString(this));
388
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry()");
393
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() hooking HKCU.");
399
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() hooking HKLM.");
405
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() hooking HKLM/Policies.");
428
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() RegOpenCurrentUser() using hkcu:" + hkcu.DangerousGetHandle().ToString("x"));
432
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() RegOpenKeyEx() returned errorCode:" + errorCode + " key:" + key.DangerousGetHandle().ToString("x"));
453
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() RegNotifyChangeKeyValue() returned errorCode:" + errorCode);
467
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ListenForRegistry() RegCloseKey() returned errorCode:" + errorCode);
480
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::RegistryChanged()");
494
GlobalLog.Print("AutoWebProxyScriptEngine#" +
ValidationHelper
.HashString(this) + "::ConnectoidChanged()");
net\System\Net\_AutoWebProxyScriptHelper.cs (25)
197
GlobalLog.Print("WebProxyScriptHelper::IReflect() GetMethod(1) name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
201
GlobalLog.Print("WebProxyScriptHelper::IReflect() GetMethod(2) name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
209
GlobalLog.Print("WebProxyScriptHelper::IReflect() GetField() name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
217
GlobalLog.Print("WebProxyScriptHelper::IReflect() GetProperty(1) name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
221
GlobalLog.Print("WebProxyScriptHelper::IReflect() GetProperty(2) name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
230
GlobalLog.Print("WebProxyScriptHelper::IReflect() GetMember() name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
238
GlobalLog.Print("WebProxyScriptHelper::IReflect() InvokeMember() name:" +
ValidationHelper
.ToString(name) + " bindingAttr:" + bindingAttr);
250
GlobalLog.Print("WebProxyScriptHelper::isPlainHostName() hostName:" +
ValidationHelper
.ToString(hostName));
259
GlobalLog.Print("WebProxyScriptHelper::dnsDomainIs() host:" +
ValidationHelper
.ToString(host) + " domain:" +
ValidationHelper
.ToString(domain));
281
GlobalLog.Print("WebProxyScriptHelper::localHostOrDomainIs() host:" +
ValidationHelper
.ToString(host) + " hostDom:" +
ValidationHelper
.ToString(hostDom));
300
GlobalLog.Print("WebProxyScriptHelper::isResolvable() host:" +
ValidationHelper
.ToString(host));
326
GlobalLog.Print("WebProxyScriptHelper::dnsResolve() host:" +
ValidationHelper
.ToString(host));
365
GlobalLog.Print("WebProxyScriptHelper::dnsDomainLevels() host:" +
ValidationHelper
.ToString(host));
380
GlobalLog.Print("WebProxyScriptHelper::isInNet() host:" +
ValidationHelper
.ToString(host) + " pattern:" +
ValidationHelper
.ToString(pattern) + " mask:" +
ValidationHelper
.ToString(mask));
418
GlobalLog.Print("WebProxyScriptHelper::shExpMatch() host:" +
ValidationHelper
.ToString(host) + " pattern:" +
ValidationHelper
.ToString(pattern));
442
GlobalLog.Print("WebProxyScriptHelper::weekdayRange() wd1:" +
ValidationHelper
.ToString(wd1) + " wd2:" +
ValidationHelper
.ToString(wd2) + " gmt:" +
ValidationHelper
.ToString(gmt));
910
GlobalLog.Print("WebProxyScriptHelper::dnsResolveEx() host:" +
ValidationHelper
.ToString(host));
943
GlobalLog.Print("WebProxyScriptHelper::dnsResolveEx() host:" +
ValidationHelper
.ToString(host));
net\System\Net\_AutoWebProxyScriptWrapper.cs (1)
556
GlobalLog.Print("AutoWebProxyScriptWrapper::CreateInstance() Create script site:" +
ValidationHelper
.HashString(site));
net\System\Net\_BasicClient.cs (3)
89
GlobalLog.Print("BasicClient::Lookup() GetCredential() returns:" +
ValidationHelper
.ToString(NC));
103
if (
ValidationHelper
.IsBlankString(username)) {
107
string rawString = ((!
ValidationHelper
.IsBlankString(domain)) ? (domain + "\\") : "") + username + ":" + NC.InternalGetPassword();
net\System\Net\_BufferOffsetSize.cs (1)
38
GlobalLog.Print("BufferOffsetSize#" +
ValidationHelper
.HashString(this) + "::.ctor() copyBuffer:" + copyBuffer.ToString() + " this:[" + ToString() + "]");
net\System\Net\_CommandStream.cs (2)
71
GlobalLog.Print("CommandStream"+
ValidationHelper
.HashString(this)+"::Abort() - closing control Stream");
96
GlobalLog.Print("CommandStream"+
ValidationHelper
.HashString(this)+"::Close()");
net\System\Net\_Connection.cs (189)
178
GlobalLog.Print("ConnectionReturnResult#" +
ValidationHelper
.HashString(returnResult) + "::SetResponses() count=" + returnResult.m_Context.Count.ToString());
194
GlobalLog.Print("ConnectionReturnResult#" +
ValidationHelper
.HashString(returnResult) + "::Exception"+e);
384
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::LockedRequest_set() old#"+ ((myLock!=null)?myLock.GetHashCode().ToString():"null") + " new#" + ((value!=null)?value.GetHashCode().ToString():"null"));
415
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::LockedRequest_set() Unlocking old request Connection");
432
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::UnlockRequest() LockedRequest#" +
ValidationHelper
.HashString(LockedRequest));
437
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::UnlockRequest() - forcing call to ConnectionGoneIdle()");
590
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest", "request#" +
ValidationHelper
.HashString(request));
591
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest");
592
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() Free:" + m_Free.ToString() + " m_WaitList.Count:" + m_WaitList.Count.ToString());
610
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest - (Request was aborted before being submitted)", true);
622
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest", "false - can't be pooled");
635
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest", "false - behind non keep-alive request");
666
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest", "false");
674
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest WriteDone:" + m_WriteDone.ToString() + ", ReadDone:" + m_ReadDone.ToString() + ", m_WriteList.Count:" + m_WriteList.Count.ToString());
702
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest - Free ");
725
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest - Request added to WaitList#"+
ValidationHelper
.HashString(request));
740
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest(), expired idle connection", false);
760
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() Pipelining:"+m_Pipelining);
783
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SubmitRequest", true);
834
"Connection#" +
ValidationHelper
.HashString(this) +
836
"HttpWebRequest#" +
ValidationHelper
.HashString(request) +
842
"Connection#" +
ValidationHelper
.HashString(this) +
856
"Connection#" +
ValidationHelper
.HashString(this) +
862
ValidationHelper
.HashString(request));
869
"Connection#" +
ValidationHelper
.HashString(this) +
873
ValidationHelper
.HashString(request));
895
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::StartRequest() setting WriteDone:" + m_WriteDone.ToString() + " to false");
897
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::StartRequest() m_WriteList adding HttpWebRequest#" +
ValidationHelper
.HashString(request));
919
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::StartRequest", needReConnect.ToString());
944
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest",
ValidationHelper
.HashString(request));
945
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest");
950
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest() Queue StartConnection Delegate ");
961
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest(): exception: " + exception.ToString());
971
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest() Invoking Async Result");
976
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest", "needReConnect");
995
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest() Invoking Async Result");
998
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartRequest");
1013
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::CheckNextRequest");
1036
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckNextRequest() Removing request#" +
ValidationHelper
.HashString(nextRequest) + " from m_WaitList. New Count:" + (m_WaitList.Count - 1).ToString());
1048
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartConnection", "async:" + async.ToString() + " httpWebRequest:" +
ValidationHelper
.HashString(httpWebRequest));
1049
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartConnection");
1104
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartConnection Failed to connect.");
1111
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteStartConnection");
1119
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(state) + "::CompleteConnectionWrapper", "request:" +
ValidationHelper
.HashString(request));
1124
GlobalLog.Print("CompleteConnectionWrapper() Request#" +
ValidationHelper
.HashString(request) + " Connection is in error: " + stateException.ToString());
1135
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(state) + "::CompleteConnectionWrapper" + (stateException == null? string.Empty: " failed"));
1143
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteConnection", "async:" + async.ToString() + " request:" +
ValidationHelper
.HashString(request));
1144
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::CompleteConnection");
1211
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteConnection", "on error");
1215
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::CompleteConnection");
1220
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::InternalWriteStartNextRequest");
1224
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest() setting WriteDone:" + m_WriteDone.ToString() + " to true");
1234
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest() m_WriteList.Count:" + m_WriteList.Count);
1258
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest() a Failure, m_Error = " + m_Error.ToString());
1268
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest() Non-Error m_WriteList.Count:" + m_WriteList.Count + " m_WaitList.Count:" + m_WaitList.Count);
1311
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" + m_WriteList.Count);
1312
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest");
1320
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest: Pipelining:" + m_Pipelining + " nextRequest#"+
ValidationHelper
.HashString(nextRequest));
1324
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest calling CompleteStartRequest");
1328
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::WriteStartNextRequest");
1369
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" + m_WriteList.Count);
1370
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest");
1393
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest() Removed request#" +
ValidationHelper
.HashString(currentRequest) + " from m_WriteList. New m_WriteList.Count:" + m_WriteList.Count.ToString());
1397
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest() The request#" +
ValidationHelper
.HashString(currentRequest) + " was disassociated so do nothing. m_WriteList.Count:" + m_WriteList.Count.ToString());
1416
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest() KeepAlive:" + m_KeepAlive + " WriteDone:" + m_WriteDone);
1527
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest() Calling ReadComplete, bytes unparsed = " + (m_BytesRead - m_BytesScanned));
1532
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest() Calling PostReceive().");
1539
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest() ThreadPool.UnsafeQueueUserWorkItem(m_PostReceiveDelegate, this)");
1545
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ReadStartNextRequest");
1587
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckStartReceive() SYNC request, calling ConnectionReaderAsyncResult.InvokeCallback()");
1592
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckStartReceive() Calling ReadComplete, bytes unparsed = " + (m_BytesRead - m_BytesScanned));
1597
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckStartReceive() Calling PostReceive().");
1604
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckStartReceive() ThreadPool.UnsafeQueueUserWorkItem(m_PostReceiveDelegate, this)");
1670
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStatusLine", statusLineLength.ToString(NumberFormatInfo.InvariantInfo) + ", " + bytesParsed.ToString(NumberFormatInfo.InvariantInfo) +", " +statusState.ToString(NumberFormatInfo.InvariantInfo));
1671
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::ParseStatusLine");
1672
GlobalLog.Assert((statusLineLength - bytesParsed) >= 0, "Connection#{0}::ParseStatusLine()|(statusLineLength - bytesParsed) < 0",
ValidationHelper
.HashString(this));
1790
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStatusLine", parseStatus.ToString());
1843
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStatusLine() StatusCode:" + statusLineInts[StatusCodeNumber] + " MajorVersionNumber:" + statusLineInts[MajorVersionNumber] + " MinorVersionNumber:" + statusLineInts[MinorVersionNumber] + " StatusDescription:" +
ValidationHelper
.ToString(statusDescription));
1844
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStatusLine", parseStatus.ToString());
2113
GlobalLog.Print("Connection::ParseStatusLineStrict() StatusCode:" + statusLineValues.StatusCode + " MajorVersionNumber:" + statusLineValues.MajorVersion + " MinorVersionNumber:" + statusLineValues.MinorVersion + " StatusDescription:" +
ValidationHelper
.ToString(statusLineValues.StatusDescription));
2213
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ProcessHeaderData - ContentLength value in header: " + contentLengthString + ", HttpWebRequest#"+
ValidationHelper
.HashString(m_CurrentRequest));
2220
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ProcessHeaderData() Content-Length parsed:" + contentLength.ToString(NumberFormatInfo.InvariantInfo));
2367
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStreamData");
2371
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStreamData - Aborted Request, return DataParseStatus.Invalid");
2382
GlobalLog.Assert(!fHaveChunked || contentLength == -1, "Connection#{0}::ParseStreamData()|fHaveChunked but contentLength != -1",
ValidationHelper
.HashString(this));
2426
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStreamData() bytesToCopy:" + bytesToCopy + " bufferLeft:" + bufferLeft);
2461
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ParseStreamData");
2489
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData()");
2623
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() ParseStatusLine() parseSubStatus:" + parseSubStatus.ToString());
2667
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() ParseHeaders() parseSubStatus:" + parseSubStatus.ToString());
2675
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() DataParseStatus.Done StatusCode:" + (int)m_ResponseData.m_StatusCode + " m_BytesRead:" + m_BytesRead + " m_BytesScanned:" + m_BytesScanned);
2703
GlobalLog.Assert(m_CurrentRequest != null, "Connection#{0}::ParseResponseData()|m_CurrentRequest == null",
ValidationHelper
.HashString(this));
2704
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() HttpWebRequest#" +
ValidationHelper
.HashString(m_CurrentRequest));
2709
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() got a 400 StatusDescription:" + m_ResponseData.m_StatusDescription);
2714
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() downgrading server to HTTP11PartiallyCompliant.");
2732
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() HttpWebRequest#" +
ValidationHelper
.HashString(m_CurrentRequest) + " ServicePoint#" +
ValidationHelper
.HashString(ServicePoint) + " sent UNexpected 100 Continue");
2739
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() calling SetRequestContinue()");
2769
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() result:" + parseStatus);
2770
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData()" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" + m_WriteList.Count);
2777
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData() m_ReadState:" + m_ReadState);
2778
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ParseResponseData()", parseStatus.ToString());
2791
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Timer, "Connection#" +
ValidationHelper
.HashString(this) + "::CloseOnIdle");
2810
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::AbortOrDisassociate", "request#" +
ValidationHelper
.HashString(request));
2811
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::AbortOrDisassociate()");
2838
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::AbortOrDisassociate()", "Request was disassociated");
2872
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::AbortOrDisassociate()", "Connection Aborted");
2886
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Timer | ThreadKinds.Finalization, "Connection#" +
ValidationHelper
.HashString(this) + "::AbortSocket");
2887
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::Abort", "isAbortState:" + isAbortState.ToString());
2904
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::Abort", "isAbortState:" + isAbortState.ToString());
2926
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::PrepareCloseConnectionSocket", m_Error.ToString());
2937
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::PrepareCloseConnectionSocket() m_WriteList.Count:" + m_WriteList.Count);
2939
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::PrepareCloseConnectionSocket() m_WaitList.Count:" + m_WaitList.Count);
2947
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::PrepareCloseConnectionSocket() looking for HttpWebRequest#" +
ValidationHelper
.HashString(lockedRequest));
3122
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::PrepareCloseConnectionSocket");
3182
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::HandleError() m_WriteList.Count:" + m_WriteList.Count +
3185
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::HandleError() current HttpWebRequest#" +
ValidationHelper
.HashString(m_CurrentRequest));
3215
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::ReadCallback",
ValidationHelper
.HashString(asyncResult));
3223
GlobalLog.Assert(asyncResult != null, "Connection#{0}::ReadCallback()|asyncResult == null",
ValidationHelper
.HashString(this));
3224
GlobalLog.Assert((asyncResult is OverlappedAsyncResult || asyncResult is LazyAsyncResult), "Connection#{0}::ReadCallback()|asyncResult is not OverlappedAsyncResult.",
ValidationHelper
.HashString(this));
3263
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadCallback() EndRead() errorStatus:" + errorStatus.ToString() + " caught exception:" + exception);
3267
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::ReadCallback");
3276
GlobalLog.ThreadContract(ThreadKinds.Unknown, "Connection#" +
ValidationHelper
.HashString(this) + "::PollAndRead");
3280
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::PollAndRead() InternalPeekCompleted:" + request.ConnectionReaderAsyncResult.InternalPeekCompleted.ToString() + " Result:" +
ValidationHelper
.ToString(request.ConnectionReaderAsyncResult.Result));
3296
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead(byte[]) request#" +
ValidationHelper
.HashString(request) + (probeRead? ", Probe read = TRUE":string.Empty));
3297
GlobalLog.ThreadContract(ThreadKinds.Sync, "Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead");
3301
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead() - nesting");
3337
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead() PollSuccess : " + pollSuccess);
3381
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead() Read() threw errorStatus:" + errorStatus.ToString() + " bytesRead:" + bytesRead.ToString());
3408
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead() Poll has timed out, calling SetRequestContinue().");
3412
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::SyncRead()");
3433
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() m_BytesRead:" + m_BytesRead.ToString() + " m_BytesScanned:" + m_BytesScanned + " (+= new bytesRead:" + bytesRead.ToString() + ")");
3511
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() parseStatus:" + parseStatus + " returnResult:" + returnResult);
3518
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() [The response stream is ready] parseStatus = DataParseStatus.Done");
3533
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() OLD buffer. m_ReadBuffer.Length:" + m_ReadBuffer.Length.ToString() + " m_BytesRead:" + m_BytesRead.ToString() + " m_BytesScanned:" + m_BytesScanned.ToString());
3563
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() NEW or shifted buffer. m_ReadBuffer.Length:" + m_ReadBuffer.Length.ToString() + " m_BytesRead:" + m_BytesRead.ToString() + " m_BytesScanned:" + m_BytesScanned.ToString());
3572
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() Reposting Async Read. Buffer:" +
ValidationHelper
.HashString(m_ReadBuffer) + " BytesScanned:" + m_BytesScanned.ToString());
3576
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() Calling PostReceive().");
3583
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::ReadComplete() ThreadPool.UnsafeQueueUserWorkItem(m_PostReceiveDelegate, this)");
3644
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::Write(ScatterGatherBuffers) networkstream#" +
ValidationHelper
.HashString(NetworkStream));
3648
GlobalLog.Assert(writeBuffer != null, "Connection#{0}::Write(ScatterGatherBuffers)|writeBuffer == null",
ValidationHelper
.HashString(this));
3660
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::Write(ScatterGatherBuffers) this:" +
ValidationHelper
.HashString(this) + " writeBuffer.Size:" + writeBuffer.Length.ToString());
3682
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(thisConnection) + "::PostReceiveWrapper", "Cnt#" +
ValidationHelper
.HashString(thisConnection));
3683
GlobalLog.Assert(thisConnection != null, "Connection#{0}::PostReceiveWrapper()|thisConnection == null",
ValidationHelper
.HashString(thisConnection));
3687
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(thisConnection) + "::PostReceiveWrapper");
3692
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::PostReceive", "");
3694
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::PostReceive() m_ReadBuffer:" +
ValidationHelper
.HashString(m_ReadBuffer) + " Length:" + m_ReadBuffer.Length.ToString());
3724
GlobalLog.LeaveException("Connection#" +
ValidationHelper
.HashString(this) + "::PostReceive", exception);
3727
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::PostReceive");
3743
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(conn) + "::TunnelThroughProxyCallback");
3769
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(conn) + "::TunnelThroughProxyCallback() exception occurred: " + exception);
3780
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(conn) + "::TunnelThroughProxyCallback");
3788
GlobalLog.Enter("Connection#" +
ValidationHelper
.HashString(this) + "::TunnelThroughProxy", "proxy="+proxy+", async="+async+", originalRequest #"+
ValidationHelper
.HashString(originalRequest));
3817
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::TunnelThroughProxy completed asynchronously", true);
3837
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::TunnelThroughProxy() exception occurred: " + exception);
3840
GlobalLog.Leave("Connection#" +
ValidationHelper
.HashString(this) + "::TunnelThroughProxy", result);
3852
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckNonIdle()");
3867
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Finalization | ThreadKinds.Timer, "Connection#" +
ValidationHelper
.HashString(this) + "::CheckIdle");
3869
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckIdle() m_Idle = " + m_Idle + ", BusyCount = " + BusyCount);
3874
GlobalLog.Print("Connection#" +
ValidationHelper
.HashString(this) + "::CheckIdle() - calling ConnectionGoneIdle()");
3905
ValidationHelper
.HashString(req));
net\System\Net\_ConnectionGroup.cs (4)
264
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Timer, "ConnectionGroup#" +
ValidationHelper
.HashString(this) + "::DisableKeepAliveOnConnections");
268
GlobalLog.Print("ConnectionGroup#" +
ValidationHelper
.HashString(this) + "::DisableKeepAliveOnConnections() Name = " + m_Name + ", Count:" + m_ConnectionList.Count);
273
GlobalLog.Print("ConnectionGroup#" +
ValidationHelper
.HashString(this) + "::DisableKeepAliveOnConnections() setting KeepAlive to false Connection#" +
ValidationHelper
.HashString(currentConnection));
net\System\Net\_ConnectStream.cs (121)
163
GlobalLog.Print((WriteStream?"Write-":"Read-") + "ConnectStream#"+
ValidationHelper
.HashString(this) + "::Got notification on an Error Response, m_IgnoreSocketErrors:" + m_IgnoreSocketErrors);
176
GlobalLog.Print((WriteStream ? "Write-" : "Read-") + "ConnectStream#" +
ValidationHelper
.HashString(this) + "::Got notification on a Fatal Response");
202
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::.ctor(Write)");
213
GlobalLog.Assert(m_HttpWriteMode != HttpWriteMode.Unknown, "ConnectStream#{0}::.ctor()|HttpWriteMode:{1}",
ValidationHelper
.HashString(this), m_HttpWriteMode);
219
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::.ctor() Connection:" +
ValidationHelper
.HashString(m_Connection) + " BytesToWrite:" + BytesLeftToWrite);
255
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::.ctor(Read)");
279
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::.ctor() Connection:" +
ValidationHelper
.HashString(m_Connection) +
388
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CallDone");
422
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CallDone");
427
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ProcessWriteCallDone()");
608
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite",
ValidationHelper
.HashString(oldStream));
609
GlobalLog.ThreadContract(ThreadKinds.Sync, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite");
622
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite() Inc: " + m_CallNesting.ToString());
624
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite(), callNesting : " + m_CallNesting.ToString() + " IsClosed = " + IsClosed);
641
GlobalLog.Assert(m_HttpWriteMode != HttpWriteMode.None, "ConnectStream#{0}::ResubmitWrite()|m_HttpWriteMode == HttpWriteMode.None",
ValidationHelper
.HashString(this));
679
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite() sent:" + bufferedData.Length.ToString() );
694
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite(), callNesting : " + m_CallNesting.ToString() + " IsClosed = " + IsClosed);
698
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResubmitWrite", BytesLeftToWrite.ToString());
706
GlobalLog.Assert(WriteStream, "ConnectStream#{0}::EnableWriteBuffering()|!WriteStream",
ValidationHelper
.HashString(this));
709
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EnableWriteBuffering() Write() creating ScatterGatherBuffers WriteChunked:" + WriteChunked.ToString() + " BytesLeftToWrite:" + BytesLeftToWrite.ToString());
752
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::FillFromBufferedData() Filling bytes: " + BytesTransferred.ToString());
865
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginWrite " +
ValidationHelper
.HashString(m_Connection) + ", " + offset.ToString() + ", " + size.ToString());
903
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing:" + m_ErrorException.ToString());
908
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
915
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
955
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() ----ing: size==0 || BufferOnly || IgnoreSocketErrors= " + (size==0) + BufferOnly + IgnoreSocketErrors);
972
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() m_ErrorResponseStatus:" + m_ErrorResponseStatus);
977
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() setting m_IgnoreSocketErrors to True (was:" + m_IgnoreSocketErrors + ") sending chunk terminator");
1009
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() ----ing: IgnoreSocketErrors set after throw.");
1018
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
1037
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() IGNORE write fault");
1047
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing:" + exception.ToString());
1051
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite chunked");
1070
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite()");
1112
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() ----ing: IgnoreSocketErrors set after throw.");
1121
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
1140
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternWrite() IGNORE write fault");
1150
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing:" + exception.ToString());
1154
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite");
1229
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndWrite() IGNORE write fault");
1253
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndWrite() IGNORE write fault");
1295
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndWrite");
1321
GlobalLog.LeaveException("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndWrite", m_ErrorException);
1329
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
1336
GlobalLog.LeaveException("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndWrite", exception);
1340
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndWrite");
1397
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
1630
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginRead() " +
ValidationHelper
.HashString(m_Connection) + ", " + offset.ToString() + ", " + size.ToString());
1666
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalWrite() throwing");
1726
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginReadWithoutValidation",
ValidationHelper
.HashString(m_Connection) + ", " + offset.ToString() + ", " + size.ToString());
1727
GlobalLog.ThreadContract(ThreadKinds.Unknown, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginReadWithoutValidation");
1760
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginReadWithoutValidation() completed, bytesToRead: " + bytesToRead + " Eof: " + this.Eof.ToString());
1803
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginReadWithoutValidation() called BeginRead");
1808
GlobalLog.LeaveException("ConnectStream#" +
ValidationHelper
.HashString(this) + "::BeginReadWithoutValidation", exception);
1823
GlobalLog.ThreadContract(ThreadKinds.Sync, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::InternalRead");
1861
GlobalLog.Enter("ConnectStream::ReadCallback", "asyncResult=#"+
ValidationHelper
.HashString(asyncResult));
2029
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndReadWithoutValidation", bytesTransferred.ToString());
2092
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::EndRead", bytesTransferred);
2110
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(stream) + "::WriteHeadersCallback", "Connection#" +
ValidationHelper
.HashString(stream.m_Connection) + ", " + request.WriteBufferLength.ToString());
2150
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(stream) + "::WriteHeadersCallback",request.WriteBufferLength.ToString());
2169
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::WriteHeaders", "Connection#" +
ValidationHelper
.HashString(m_Connection) + ", headers buffer size = " + m_Request.WriteBufferLength.ToString());
2236
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::WriteHeaders() ignoring since ErrorInStream = true");
2278
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::WriteHeaders Exception: " + e.ToString());
2304
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::GetChannelBinding", kind.ToString());
2314
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::GetChannelBinding",
ValidationHelper
.HashString(binding));
2401
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::Close()");
2416
GlobalLog.ThreadContract(ThreadKinds.Unknown, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::Abort");
2421
GlobalLog.ThreadContract(ThreadKinds.Unknown, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::Abort");
2434
GlobalLog.Print("ConnectStream##" +
ValidationHelper
.HashString(this) + "::ResumeInternalClose(), userResult:" + userResult);
2454
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() exceptionOnWrite:" + exception.Message);
2466
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResumeClose_Part2_Wrapper() ignoring exceptionOnWrite:" + exception.Message);
2479
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResumeClose_Part2() Aborting the connection");
2486
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::ResumeClose_Part2", "Done");
2503
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal", internalCall.ToString());
2504
GlobalLog.ThreadContract(ThreadKinds.Unknown, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::Abort");
2515
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() m_ShutDown:" + m_ShutDown.ToString() + " m_CallNesting:" + m_CallNesting.ToString() + " m_DoneCalled:" + m_DoneCalled.ToString());
2522
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal", "already has been Aborted");
2530
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal", "already has been closed");
2548
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() PostStream, Internal call and m_CallNesting==1, defer closing until user write completes");
2561
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() normalShutDown:" + normalShutDown.ToString() + " m_CallNesting:" + m_CallNesting.ToString() + " m_DoneCalled:" + m_DoneCalled.ToString());
2565
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() don't read/write on this, dead connection stream.");
2571
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() callNesting: " + m_CallNesting.ToString());
2572
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() read stream, calling DrainSocket()");
2608
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() Chunked, writing ChunkTerminator");
2627
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() IGNORE chunk write fault");
2639
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() BytesLeftToWrite:" + BytesLeftToWrite.ToString() + " throwing not enough bytes written");
2649
GlobalLog.Assert(m_Request != null, "ConnectStream#{0}::CloseInternal|m_Request == null",
ValidationHelper
.HashString(this));
2658
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal", "Done");
2681
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() exceptionOnWrite:" + exceptionOnWrite.Message);
2685
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() normalShutDown:" + normalShutDown.ToString() + " m_CallNesting:" + m_CallNesting.ToString() + " m_DoneCalled:" + m_DoneCalled.ToString());
2691
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal", "other thread has charged Abort(), canceling that one");
2705
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() Aborting the connection");
2720
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() calling CallDone() on exceptionOnWrite:" + exceptionOnWrite.Message);
2725
GlobalLog.LeaveException("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() throwing:", exceptionOnWrite);
2733
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal() calling CallDone()");
2737
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::CloseInternal", "Done");
2819
GlobalLog.ThreadContract(ThreadKinds.Unknown, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket");
2823
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() IgnoreSocketErrors == true, stream is dead.", true);
2832
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " m_ReadBufferSize:" + m_ReadBufferSize.ToString());
2841
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " m_ReadOffset:" + m_ReadOffset.ToString());
2856
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " incorrect Content-Length? setting m_ReadBytes to 0 and returning false.");
2873
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() ReadBytes==-1, returning true");
2885
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() Eof, returning true");
2898
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() m_ReadBytes:" + m_ReadBytes.ToString() + " Closing the Connection");
2917
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() drain timeout exceeded.");
2923
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() drained bytesRead:" + bytesRead.ToString() + " bytes");
2932
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() drain timeout exceeded.");
2942
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(this) + "::DrainSocket() the socket was already closed.");
3023
GlobalLog.Enter("ConnectStream#" +
ValidationHelper
.HashString(this) + "::IOError", "Connection# " +
ValidationHelper
.HashString(m_Connection));
3024
GlobalLog.ThreadContract(ThreadKinds.Unknown, "ConnectStream#" +
ValidationHelper
.HashString(this) + "::IOError");
3056
GlobalLog.Leave("ConnectStream#" +
ValidationHelper
.HashString(this) + "::IOError");
net\System\Net\_ContextAwareResult.cs (18)
161
GlobalLog.Assert(AsyncCallback != null || (_Flags & StateFlags.CaptureContext) != 0, "ContextAwareResult#{0}::ContextCopy|No context captured - specify a callback or forceCaptureContext.",
ValidationHelper
.HashString(this));
167
GlobalLog.Assert(_Lock != null, "ContextAwareResult#{0}::ContextCopy|Must lock (StartPostingAsyncOp()) { ... FinishPostingAsyncOp(); } when calling ContextCopy (unless it's only called after FinishPostingAsyncOp).",
ValidationHelper
.HashString(this));
189
GlobalLog.Assert(!InternalPeekCompleted || (_Flags & StateFlags.ThreadSafeContextCopy) != 0, "ContextAwareResult#{0}::Identity|Called on completed result.",
ValidationHelper
.HashString(this));
201
GlobalLog.Assert((_Flags & StateFlags.CaptureIdentity) != 0, "ContextAwareResult#{0}::Identity|No identity captured - specify captureIdentity.",
ValidationHelper
.HashString(this));
207
GlobalLog.Assert(_Lock != null, "ContextAwareResult#{0}::Identity|Must lock (StartPostingAsyncOp()) { ... FinishPostingAsyncOp(); } when calling Identity (unless it's only called after FinishPostingAsyncOp).",
ValidationHelper
.HashString(this));
211
GlobalLog.Assert(!InternalPeekCompleted || (_Flags & StateFlags.ThreadSafeContextCopy) != 0, "ContextAwareResult#{0}::Identity|Result became completed during call.",
ValidationHelper
.HashString(this));
246
GlobalLog.Assert(!InternalPeekCompleted, "ContextAwareResult#{0}::StartPostingAsyncOp|Called on completed result.",
ValidationHelper
.HashString(this));
345
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::Cleanup()");
364
GlobalLog.Assert((_Flags & StateFlags.PostBlockStarted) != 0, "ContextAwareResult#{0}::CaptureOrComplete|Called without calling StartPostingAsyncOp.",
ValidationHelper
.HashString(this));
376
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::CaptureOrComplete() starting identity capture");
385
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::CaptureOrComplete() starting capture");
402
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::CaptureOrComplete() _Context:" +
ValidationHelper
.HashString(_Context));
407
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::CaptureOrComplete() skipping capture");
409
GlobalLog.Assert(AsyncCallback == null || CompletedSynchronously, "ContextAwareResult#{0}::CaptureOrComplete|Didn't capture context, but didn't complete synchronously!",
ValidationHelper
.HashString(this));
419
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::CaptureOrComplete() completing synchronously");
432
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::Complete() _Context(set):" + (_Context != null).ToString() + " userToken:" + userToken.ToString());
467
GlobalLog.Print("ContextAwareResult#" +
ValidationHelper
.HashString(this) + "::CompleteCallback() Context set, calling callback.");
net\System\Net\_DigestClient.cs (32)
45
GlobalLog.Print("DigestClient::Authenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
50
GlobalLog.Print("DigestClient::DoAuthenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " preAuthenticate:" + preAuthenticate.ToString());
65
GlobalLog.Print("DigestClient::DoAuthenticate() GetCredential() returns:" +
ValidationHelper
.ToString(NC));
100
GlobalLog.Print("DigestClient::DoAuthenticate() retrieved digestChallenge#" +
ValidationHelper
.HashString(digestChallenge) + " digestChallenge for prefix:" + httpWebRequest.ChallengedUri.AbsoluteUri);
132
GlobalLog.Print("DigestClient::DoAuthenticate() adding digestChallenge#" +
ValidationHelper
.HashString(digestChallenge) + " for prefix:" + prefixes[i]);
140
GlobalLog.Print("DigestClient::PreAuthenticate() webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
275
GlobalLog.Print("DigestClient::XPDoAuthenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] httpWebRequest#" +
ValidationHelper
.HashString(httpWebRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " preAuthenticate:" + preAuthenticate.ToString());
287
GlobalLog.Print("DigestClient::XPDoAuthenticate() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
304
GlobalLog.Print("DigestClient::XPDoAuthenticate() retrieved digestChallenge#" +
ValidationHelper
.HashString(digestChallenge) + " digestChallenge for prefix:" + httpWebRequest.ChallengedUri.AbsoluteUri);
324
GlobalLog.Print("DigestClient::XPDoAuthenticate() rawUri:" +
ValidationHelper
.ToString(rawUri));
328
GlobalLog.Print("DigestClient::XPDoAuthenticate() GetCredential() returns:" +
ValidationHelper
.ToString(NC));
340
GlobalLog.Print("NtlmClient::Authenticate() ChallengedSpn:" +
ValidationHelper
.ToString(spn));
356
GlobalLog.Print("DigestClient::XPDoAuthenticate() setting SecurityContext for:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " to authSession:" +
ValidationHelper
.HashString(authSession));
363
GlobalLog.Print("DigestClient::XPDoAuthenticate() incoming:" +
ValidationHelper
.ToString(incoming));
373
GlobalLog.Print("DigestClient::XPDoAuthenticate() GetOutgoingDigestBlob(" + incoming + ") returns:" +
ValidationHelper
.ToString(clientResponse));
391
GlobalLog.Print("DigestClient::XPDoAuthenticate() adding authSession#" +
ValidationHelper
.HashString(authSession) + " for prefix:" + prefixes[i]);
407
GlobalLog.Print("DigestClient::XPUpdate() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
440
GlobalLog.Print("DigestClient::XPDoAuthenticate() incoming:" +
ValidationHelper
.ToString(incoming));
447
GlobalLog.Print("DigestClient::XPUpdate() GetOutgoingDigestBlob(" + incoming + ") returns:" +
ValidationHelper
.ToString(clientResponse));
449
GlobalLog.Print("DigestClient::XPUpdate() GetOutgoingBlob() returns clientResponse:[" +
ValidationHelper
.ToString(clientResponse) + "] IsCompleted:" + authSession.IsCompleted.ToString());
943
if (
ValidationHelper
.IsBlankString(username)) {
957
GlobalLog.Print("HttpDigest::Authenticate() QopPresent:True, need new nonce. digestChallenge.ClientNonce:" +
ValidationHelper
.ToString(digestChallenge.ClientNonce) + " digestChallenge.Stale:" + digestChallenge.Stale.ToString());
net\System\Net\_FtpControlStream.cs (8)
246
GlobalLog.Print("FtpControlStream#" +
ValidationHelper
.HashString(this) + ">" + (entry == null? "null" : entry.Command));
247
GlobalLog.Print("FtpControlStream#" +
ValidationHelper
.HashString(this) + ">" + ((response == null) ? "null" : response.StatusDescription));
458
GlobalLog.Print("FtpControlStream#" +
ValidationHelper
.HashString(this) + "BuildCommandsList");
695
GlobalLog.Assert(port != -1, "FtpControlStream#{0}|'port' not set.",
ValidationHelper
.HashString(this));
715
GlobalLog.Print("FtpControlStream#" +
ValidationHelper
.HashString(this) + "starting Connect()");
729
GlobalLog.Print("FtpControlStream#" +
ValidationHelper
.HashString(this) + "starting Accept()");
1149
if(!
ValidationHelper
.IsBlankString(parameter)) {
1175
GlobalLog.Print("FtpControlStream#" +
ValidationHelper
.HashString(this) + "CheckValid(" + response.StatusBuffer.ToString() + ")" );
net\System\Net\_FtpDataStream.cs (2)
31
GlobalLog.Print("FtpDataStream#" +
ValidationHelper
.HashString(this) + "::FtpDataStream");
57
GlobalLog.Print("FtpDataStream#" +
ValidationHelper
.HashString(this) + "::CloseEx, state = " + closeState.ToString());
net\System\Net\_KerberosClient.cs (18)
21
GlobalLog.Print("KerberosClient::Authenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
27
GlobalLog.Print("KerberosClient::DoAuthenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " preAuthenticate:" + preAuthenticate.ToString());
74
GlobalLog.Print("KerberosClient::DoAuthenticate() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
79
GlobalLog.Print("KerberosClient::DoAuthenticate() GetCredential() returns:" +
ValidationHelper
.ToString(NC));
91
GlobalLog.Print("KerberosClient::Authenticate() ChallengedSpn:" +
ValidationHelper
.ToString(spn));
108
GlobalLog.Print("KerberosClient::DoAuthenticate() setting SecurityContext for:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " to authSession:" +
ValidationHelper
.HashString(authSession));
127
GlobalLog.Print("KerberosClient::PreAuthenticate() webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
152
GlobalLog.Print("KerberosClient::Update() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
187
GlobalLog.Print("KerberosClient::Update() closing security context using last incoming blob:[" +
ValidationHelper
.ToString(incoming) + "]");
190
GlobalLog.Print("KerberosClient::Update() GetOutgoingBlob() returns clientResponse:[" +
ValidationHelper
.ToString(clientResponse) + "] IsCompleted:" + authSession.IsCompleted.ToString());
net\System\Net\_LazyAsyncResult.cs (19)
78
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::.ctor()");
90
GlobalLog.Assert(result != DBNull.Value, "LazyAsyncResult#{0}::.ctor()|Result can't be set to DBNull - it's a special internal value.",
ValidationHelper
.HashString(this));
98
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::Complete() invoking callback");
102
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::Complete() no callback to invoke");
105
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::.ctor() (pre-completed)");
146
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::get_AsyncWaitHandle()");
177
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::get_AsyncWaitHandle() m_Event:" +
ValidationHelper
.HashString(m_Event));
232
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::get_CompletedSynchronously()");
248
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::get_CompletedSynchronously() returns: "+((result>0)?"true":"false"));
256
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::get_IsCompleted()");
300
GlobalLog.Assert(value != DBNull.Value, "LazyAsyncResult#{0}::set_Result()|Result can't be set to DBNull - it's a special internal value.",
ValidationHelper
.HashString(this));
301
GlobalLog.Assert(!InternalPeekCompleted, "LazyAsyncResult#{0}::set_Result()|Called on completed result.",
ValidationHelper
.HashString(this));
332
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::ProtectedInvokeCallback() result = " +
403
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::Complete() invoking callback");
419
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::Complete() no callback to invoke");
492
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::InternalWaitForCompletion() Waiting for completion m_Event#" +
ValidationHelper
.HashString(waitHandle));
522
GlobalLog.Print("LazyAsyncResult#" +
ValidationHelper
.HashString(this) + "::InternalWaitForCompletion() done: " +
net\System\Net\_ListenerAsyncResult.cs (5)
37
GlobalLog.Print("ListenerAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::WaitCallback() errorCode:[" + errorCode.ToString() + "] numBytes:[" + numBytes.ToString() + "]");
96
GlobalLog.Print("ListenerAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::WaitCallback() calling Complete()");
102
if (Logging.On) Logging.PrintError(Logging.HttpListener,
ValidationHelper
.HashString(asyncResult), "IOCompleted", exception.ToString());
122
GlobalLog.Print("ListenerAsyncResult#" +
ValidationHelper
.HashString(this) + "::QueueBeginGetContext() calling UnsafeNclNativeMethods.HttpApi.HttpReceiveHttpRequest RequestId:" + m_RequestContext.RequestBlob->RequestId + " Buffer:0x" + ((IntPtr) m_RequestContext.RequestBlob).ToString("x") + " Size:" + m_RequestContext.Size.ToString());
134
GlobalLog.Print("ListenerAsyncResult#" +
ValidationHelper
.HashString(this) + "::QueueBeginGetContext() call to UnsafeNclNativeMethods.HttpApi.HttpReceiveHttpRequest returned:" + statusCode);
net\System\Net\_ListenerRequestStream.cs (23)
25
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::.ctor() HttpListenerContext#" +
ValidationHelper
.HashString(httpContext));
108
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::Read() size:" + size + " offset:" + offset);
130
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::Read() size:" + size + " offset:" + offset);
143
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::Read() calling UnsafeNclNativeMethods.HttpApi.HttpReceiveRequestEntityBody");
163
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::Read() call to UnsafeNclNativeMethods.HttpApi.HttpReceiveRequestEntityBody returned:" + statusCode + " dataRead:" + dataRead);
173
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::Read() returning dataRead:" + dataRead);
179
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::UpdateAfterRead() statusCode:" + statusCode + " m_Closed:" + m_Closed);
183
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::UpdateAfterRead() statusCode:" + statusCode + " m_Closed:" + m_Closed);
190
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::BeginRead() buffer.Length:" + buffer.Length + " size:" + size + " offset:" + offset);
219
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::BeginRead() size:" + size + " offset:" + offset);
235
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::BeginRead() calling UnsafeNclNativeMethods.HttpApi.HttpReceiveRequestEntityBody");
255
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::BeginRead() call to UnsafeNclNativeMethods.HttpApi.HttpReceiveRequestEntityBody returned:" + statusCode + " dataRead:" + dataRead);
290
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::EndRead() asyncResult#" +
ValidationHelper
.HashString(asyncResult));
306
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::EndRead() rethrowing exception:" + exception);
315
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::EndRead() returning returnValue:" +
ValidationHelper
.ToString(returnValue));
338
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::Dispose(bool) m_Closed:" + m_Closed);
349
GlobalLog.Print("HttpRequestStream#" +
ValidationHelper
.HashString(this) + "::SwitchToOpaqueMode()");
396
GlobalLog.Print("HttpRequestStreamAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::Callback() errorCode:0x" + errorCode.ToString("x8") + " numBytes:" + numBytes);
407
GlobalLog.Print("HttpRequestStreamAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::Callback() calling Complete()");
418
GlobalLog.Print("HttpRequestStreamAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::Callback() errorCode:0x" + errorCode.ToString("x8") + " numBytes:" + numBytes + " nativeOverlapped:0x" + ((IntPtr)nativeOverlapped).ToString("x8"));
net\System\Net\_ListenerResponseStream.cs (27)
25
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::.ctor() HttpListenerContext##" +
ValidationHelper
.HashString(httpContext));
30
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::ComputeLeftToWrite() on entry m_LeftToWrite:" + m_LeftToWrite);
38
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::ComputeLeftToWrite() computed m_LeftToWrite:" + m_LeftToWrite);
129
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Write() buffer.Length:" + buffer.Length + " size:" + size + " offset:" + offset);
189
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Write() calling UnsafeNclNativeMethods.HttpApi.HttpSendResponseEntityBody");
204
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Write() call to UnsafeNclNativeMethods.HttpApi.HttpSendResponseEntityBody returned:" + statusCode);
206
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Write() suppressing error");
235
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::BeginWrite() buffer.Length:" + buffer.Length + " size:" + size + " offset:" + offset);
270
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::BeginWrite() calling UnsafeNclNativeMethods.HttpApi.HttpSendResponseEntityBody");
286
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::BeginWrite() call to UnsafeNclNativeMethods.HttpApi.HttpSendResponseEntityBody returned:" + statusCode);
300
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::BeginWrite() suppressing error");
329
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::EndWrite() asyncResult#" +
ValidationHelper
.HashString(asyncResult));
346
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::EndWrite() rethrowing exception:" + exception);
355
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::EndWrite()");
360
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::UpdateAfterWrite() dataWritten:" + dataWritten + " m_LeftToWrite:" + m_LeftToWrite + " m_Closed:" + m_Closed);
372
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::UpdateAfterWrite() dataWritten:" + dataWritten + " m_LeftToWrite:" + m_LeftToWrite + " m_Closed:" + m_Closed);
380
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Close() m_Closed:" + m_Closed);
415
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Close() calling UnsafeNclNativeMethods.HttpApi.HttpSendResponseEntityBody");
430
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Close() call to UnsafeNclNativeMethods.HttpApi.HttpSendResponseEntityBody returned:" + statusCode);
432
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::Close() suppressing error");
460
GlobalLog.Print("HttpResponseStream#" +
ValidationHelper
.HashString(this) + "::SwitchToOpaqueMode()");
524
GlobalLog.Print("HttpResponseStreamAsyncResult#" +
ValidationHelper
.HashString(this) + "::.ctor() m_pOverlapped:0x" + ((IntPtr)m_pOverlapped).ToString("x8"));
586
GlobalLog.Print("HttpResponseStreamAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::Callback() errorCode:0x" + errorCode.ToString("x8") + " numBytes:" + numBytes);
605
GlobalLog.Print("HttpResponseStreamAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::Callback() calling Complete()");
616
GlobalLog.Print("HttpResponseStreamAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::Callback() errorCode:0x" + errorCode.ToString("x8") + " numBytes:" + numBytes + " nativeOverlapped:0x" + ((IntPtr)nativeOverlapped).ToString("x8"));
net\System\Net\_NegotiateClient.cs (18)
19
GlobalLog.Print("NegotiateClient::Authenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
24
GlobalLog.Print("NegotiateClient::DoAuthenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " preAuthenticate:" + preAuthenticate.ToString());
73
GlobalLog.Print("NegotiateClient::DoAuthenticate() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
81
GlobalLog.Print("NegotiateClient::DoAuthenticate() GetCredential() returns:" +
ValidationHelper
.ToString(NC));
94
GlobalLog.Print("NegotiateClient::Authenticate() ChallengedSpn:" +
ValidationHelper
.ToString(spn));
110
GlobalLog.Print("NegotiateClient::DoAuthenticate() setting SecurityContext for:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " to authSession:" +
ValidationHelper
.HashString(authSession));
142
GlobalLog.Print("NegotiateClient::PreAuthenticate() webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
168
GlobalLog.Print("NegotiateClient::Update() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
210
GlobalLog.Print("NegotiateClient::Update() this must be a final incoming blob:[" +
ValidationHelper
.ToString(incoming) + "]");
213
GlobalLog.Print("NegotiateClient::Update() GetOutgoingBlob() returns clientResponse:[" +
ValidationHelper
.ToString(clientResponse) + "] IsCompleted:" + authSession.IsCompleted.ToString());
net\System\Net\_NTAuthentication.cs (51)
239
GlobalLog.Assert(IsCompleted && IsValidContext, "NTAuthentication#{0}::OSSupportsExtendedProtection|The context is not completed or invalid.",
ValidationHelper
.HashString(this));
314
GlobalLog.Assert(IsCompleted && IsValidContext, "NTAuthentication#{0}::MaxDataSize|The context is not completed or invalid.",
ValidationHelper
.HashString(this));
485
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::.ctor() package:" +
ValidationHelper
.ToString(package) + " spn:" +
ValidationHelper
.ToString(spn) + " flags :" + requestedContextFlags.ToString());
500
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::.ctor(): using DefaultCredentials");
556
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::.ctor(): using authIdentity:" + authIdentity.ToString());
577
GlobalLog.Assert(IsCompleted && IsValidContext, "NTAuthentication#{0}::GetContextToken|Should be called only when completed with success, currently is not!",
ValidationHelper
.HashString(this));
578
GlobalLog.Assert(IsServer, "NTAuthentication#{0}::GetContextToken|The method must not be called by the client side!",
ValidationHelper
.HashString(this));
619
GlobalLog.Enter("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob", incomingBlob);
629
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob() null blob AND m_SecurityContext#" +
ValidationHelper
.HashString(m_SecurityContext) + "::Handle:[0x" + m_SecurityContext.ToString() + "]");
659
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob", outgoingBlob);
670
GlobalLog.Enter("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob", ((incomingBlob == null) ? "0" : incomingBlob.Length.ToString(NumberFormatInfo.InvariantInfo)) + " bytes");
704
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob() SSPIWrapper.InitializeSecurityContext() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
716
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.CompleteAuthToken() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
732
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob() SSPIWrapper.AcceptSecurityContext() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
753
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob", "Win32Exception:" + exception);
756
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob", "null statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
771
GlobalLog.Assert(statusCode == SecurityStatus.OK, "NTAuthentication#{0}::GetOutgoingBlob()|statusCode:[0x{1:x8}] ({2}) m_SecurityContext#{3}::Handle:[{4}] [STATUS != OK]",
ValidationHelper
.HashString(this), (int)statusCode, statusCode,
ValidationHelper
.HashString(m_SecurityContext),
ValidationHelper
.ToString(m_SecurityContext));
776
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob() need continue statusCode:[0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" +
ValidationHelper
.HashString(m_SecurityContext) + "::Handle:" +
ValidationHelper
.ToString(m_SecurityContext) + "]");
780
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingBlob", "IsCompleted:" + IsCompleted.ToString());
788
GlobalLog.Enter("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob", incomingBlob);
829
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.InitializeSecurityContext() returns statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
846
GlobalLog.Assert("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob()", "Invalid code path.");
876
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.AcceptSecurityContext() returns statusCode:0x" + ((int)statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
887
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob() SSPIWrapper.CompleteAuthToken() returns statusCode:0x" + ((int)statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
910
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob", "Win32Exception:" + exception);
913
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob", "null statusCode:0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + " (" + statusCode.ToString() + ")");
932
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob() need continue statusCode:[0x" + ((int) statusCode).ToString("x8", NumberFormatInfo.InvariantInfo) + "] (" + statusCode.ToString() + ") m_SecurityContext#" +
ValidationHelper
.HashString(m_SecurityContext) + "::Handle:" +
ValidationHelper
.ToString(m_SecurityContext) + "]");
936
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob() IsCompleted:" + IsCompleted.ToString());
943
GlobalLog.Leave("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::GetOutgoingDigestBlob", outgoingBlob);
962
GlobalLog.Assert(false, "NTAuthentication#" +
ValidationHelper
.HashString(this) + "::Encrypt", "Arguments out of range.");
996
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::Encrypt() throw Error = " + errorCode.ToString("x", NumberFormatInfo.InvariantInfo));
1028
GlobalLog.Assert(false, "NTAuthentication#" +
ValidationHelper
.HashString(this) + "::Decrypt", "Argument 'offset' out of range.");
1033
GlobalLog.Assert(false, "NTAuthentication#" +
ValidationHelper
.HashString(this) + "::Decrypt", "Argument 'count' out of range.");
1060
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::Decrypt() throw Error = " + errorCode.ToString("x", NumberFormatInfo.InvariantInfo));
1089
GlobalLog.Assert(false, "NTAuthentication#" +
ValidationHelper
.HashString(this) + "::DecryptNtlm", "Argument 'count' out of range.");
1113
GlobalLog.Print("NTAuthentication#" +
ValidationHelper
.HashString(this) + "::Decrypt() throw Error = " + errorCode.ToString("x", NumberFormatInfo.InvariantInfo));
1141
ValidationHelper
.HashString(this) +
1153
ValidationHelper
.HashString(this) +
1179
ValidationHelper
.HashString(this) +
1238
ValidationHelper
.HashString(this) +
1271
return
ValidationHelper
.ToString(Domain) + "\\" +
ValidationHelper
.ToString(UserName);
net\System\Net\_NtlmClient.cs (16)
20
GlobalLog.Print("NtlmClient::Authenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
25
GlobalLog.Print("NtlmClient::DoAuthenticate() challenge:[" +
ValidationHelper
.ToString(challenge) + "] webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " preAuthenticate:" + preAuthenticate.ToString());
73
GlobalLog.Print("NtlmClient::DoAuthenticate() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
78
GlobalLog.Print("NtlmClient::DoAuthenticate() GetCredential() returns:" +
ValidationHelper
.ToString(NC));
91
GlobalLog.Print("NtlmClient::Authenticate() ChallengedSpn:" +
ValidationHelper
.ToString(spn));
107
GlobalLog.Print("NtlmClient::DoAuthenticate() setting SecurityContext for:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " to authSession:" +
ValidationHelper
.HashString(authSession));
135
GlobalLog.Print("NtlmClient::PreAuthenticate() webRequest#" +
ValidationHelper
.HashString(webRequest) + " credentials#" +
ValidationHelper
.HashString(credentials) + " calling DoAuthenticate()");
160
GlobalLog.Print("NtlmClient::Update() key:" +
ValidationHelper
.HashString(httpWebRequest.CurrentAuthenticationState) + " retrieved authSession:" +
ValidationHelper
.HashString(authSession));
net\System\Net\_PooledStream.cs (3)
90
GlobalLog.Print("PooledStream#" +
ValidationHelper
.HashString(this) + "::CanBePooled " + "init: true");
94
GlobalLog.Print("PooledStream#" +
ValidationHelper
.HashString(this) + "::CanBePooled " + "not-connected: false");
100
GlobalLog.Print("PooledStream#" +
ValidationHelper
.HashString(this) + "::CanBePooled " + "flag: " + flag.ToString());
net\System\Net\_RegBlobWebProxyDataBuilder.cs (7)
213
GlobalLog.Enter("RegBlobWebProxyDataBuilder#" +
ValidationHelper
.HashString(this) + "::BuildInternal() m_Connectoid:" +
ValidationHelper
.ToString(m_Connectoid));
228
GlobalLog.Print("RegBlobWebProxyDataBuilder::BuildInternal() proxyFlags:" +
ValidationHelper
.ToString(proxyFlags));
232
GlobalLog.Print("RegBlobWebProxyDataBuilder::BuildInternal() proxyAddressString:" +
ValidationHelper
.ToString(addressString) + " proxyBypassString:" +
ValidationHelper
.ToString(proxyBypassString));
250
GlobalLog.Print("RegBlobWebProxyDataBuilder::BuildInternal() scriptLocation:" +
ValidationHelper
.ToString(addressString));
305
GlobalLog.Leave("RegBlobWebProxyDataBuilder#" +
ValidationHelper
.HashString(this) + "::BuildInternal()");
net\System\Net\_SafeNetHandles.cs (7)
1635
GlobalLog.Leave("SafeDeleteContext::InitializeSecurityContext() unmanaged InitializeSecurityContext()", "errorCode:0x" + errorCode.ToString("x8") + " refContext:" +
ValidationHelper
.ToString(refContext));
1954
GlobalLog.Leave("SafeDeleteContext::AcceptSecurityContex() unmanaged AcceptSecurityContex()", "errorCode:0x" + errorCode.ToString("x8") + " refContext:" +
ValidationHelper
.ToString(refContext));
2086
GlobalLog.Print(" refContext = " +
ValidationHelper
.ToString(refContext));
2185
GlobalLog.Leave("SafeDeleteContext::CompleteAuthToken() unmanaged CompleteAuthToken()", "errorCode:0x" + errorCode.ToString("x8") + " refContext:" +
ValidationHelper
.ToString(refContext));
2197
GlobalLog.Print(" refContext = " +
ValidationHelper
.ToString(refContext));
2313
GlobalLog.Leave("SafeDeleteContext::ApplyControlToken() unmanaged ApplyControlToken()", "errorCode:0x" + errorCode.ToString("x8") + " refContext:" +
ValidationHelper
.ToString(refContext));
2981
if (
ValidationHelper
.IsBlankString(key)) {
net\System\Net\_ScatterGatherBuffers.cs (5)
36
GlobalLog.Print("ScatterGatherBuffers#" +
ValidationHelper
.HashString(this) + "::ToArray() chunkCount:" + chunkCount.ToString());
41
GlobalLog.Print("ScatterGatherBuffers#" +
ValidationHelper
.HashString(this) + "::ToArray() index:" + index.ToString() + " size:" + thisMemoryChunk.FreeOffset);
65
GlobalLog.Print("ScatterGatherBuffers#" +
ValidationHelper
.HashString(this) + "::Add() count:" + count.ToString());
103
GlobalLog.Print("ScatterGatherBuffers#" +
ValidationHelper
.HashString(this) + "::Add() totalLength:" + totalLength.ToString());
122
GlobalLog.Print("ScatterGatherBuffers#" +
ValidationHelper
.HashString(this) + "::AllocateMemoryChunk() chunkCount:" + chunkCount.ToString() + " nextChunkLength:" + nextChunkLength.ToString());
net\System\Net\_SecureChannel.cs (49)
91
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::.ctor", "hostname:" + hostname + " #clientCertificates=" + ((clientCertificates == null) ? "0" : clientCertificates.Count.ToString(NumberFormatInfo.InvariantInfo)));
97
GlobalLog.Assert(hostname != null, "SecureChannel#{0}::.ctor()|hostname == null",
ValidationHelper
.HashString(this));
115
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::.ctor");
193
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::RemoteCertificate{get;}");
210
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::RemoteCertificate{get;}", (result == null? "null" :result.Subject));
217
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::GetChannelBindingToken", kind.ToString());
225
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::GetChannelBindingToken",
ValidationHelper
.HashString(result));
482
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::GetIssuers() IssuerListEx[" + i + "]:" + issuers[i]);
543
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials");
560
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials() calling CertificateSelectionCallback");
638
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials() root cert:" + certificateEx.Issuer);
657
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials() matched:" + issuer);
660
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials() no match:" + issuer);
709
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials() Selected Cert = " + (selectedCert == null? "null": selectedCert.Subject));
723
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials() Reset to anonymous session.");
781
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireClientCredentials, cachedCreds = " + cachedCred.ToString(),
ValidationHelper
.ToString(m_CredentialsHandle));
799
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireServerCredentials");
809
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireServerCredentials() Use delegate selected Cert");
864
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::AcquireServerCredentials, cachedCreds = " + cachedCred.ToString(),
ValidationHelper
.ToString(m_CredentialsHandle));
892
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::NextMessage");
898
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::NextMessage() returned SecurityStatus.CredentialsNeeded");
903
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::NextMessage", token.ToString());
932
GlobalLog.Assert(false, "SecureChannel#" +
ValidationHelper
.HashString(this) + "::GenerateToken", "Argument 'offset' out of range.");
937
GlobalLog.Assert(false, "SecureChannel#" +
ValidationHelper
.HashString(this) + "::GenerateToken", "Argument 'count' out of range.");
1078
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::ProcessHandshakeSuccess");
1090
GlobalLog.Assert(false, "SecureChannel#" +
ValidationHelper
.HashString(this) + "::ProcessHandshakeSuccess", "StreamSizes out of range.");
1096
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::ProcessHandshakeSuccess");
1115
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt");
1116
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt() - offset: " + offset.ToString() + " size: " + size.ToString() +" buffersize: " + buffer.Length.ToString() );
1117
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt() buffer:[" + Encoding.ASCII.GetString(buffer, 0, Math.Min(buffer.Length,128)) + "]");
1147
GlobalLog.Assert(false, "SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt", "Arguments out of range.");
1164
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt ERROR", errorCode.ToString("x"));
1171
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt OK", "data size:" + resultSize.ToString());
1178
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::Decrypt() - offset: " + offset.ToString() + " size: " + count.ToString() +" buffersize: " + payload.Length.ToString() );
1182
GlobalLog.Assert(false, "SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt", "Argument 'offset' out of range.");
1187
GlobalLog.Assert(false, "SecureChannel#" +
ValidationHelper
.HashString(this) + "::Encrypt", "Argument 'count' out of range.");
1231
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::VerifyRemoteCertificate");
1245
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::VerifyRemoteCertificate (no remote cert)", (!m_RemoteCertRequired).ToString());
1333
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::VerifyRemoteCertificate", success.ToString());
1339
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::CreateFatalHandshakeAlertToken");
1356
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::CreateFatalHandshakeAlertToken() alertMessage: " + alertMessage.ToString());
1361
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::ApplyAlertToken() returned " + status);
1366
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::CreateFatalHandshakeAlertToken", token.ToString());
1372
GlobalLog.Enter("SecureChannel#" +
ValidationHelper
.HashString(this) + "::CreateShutdownToken");
1377
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::ApplyAlertToken() returned " + status);
1382
GlobalLog.Leave("SecureChannel#" +
ValidationHelper
.HashString(this) + "::CreateShutdownToken", token.ToString());
net\System\Net\_ServiceNameStore.cs (4)
59
ValidationHelper
.HashString(this) + "::Add() "
72
ValidationHelper
.HashString(this) + "::Add() "
95
ValidationHelper
.HashString(this) + "::Remove() "
100
ValidationHelper
.HashString(this) + "::Remove() "
net\System\Net\_ShellExpression.cs (5)
32
GlobalLog.Print("ShellServices.ShellExpression#" +
ValidationHelper
.HashString(this) + "::.ctor() pattern:" +
ValidationHelper
.ToString(pattern));
47
GlobalLog.Print("ShellServices.ShellExpression#" +
ValidationHelper
.HashString(this) + "::IsMatch() target:" +
ValidationHelper
.ToString(target));
172
GlobalLog.Print("ShellServices.ShellExpression#" +
ValidationHelper
.HashString(this) + "::IsMatch() return:" + matched.ToString());
net\System\Net\_SSPIWrapper.cs (7)
232
"context = " +
ValidationHelper
.ToString(context) + ", " +
247
"context = " +
ValidationHelper
.ToString(context) + ", " +
264
"context = " +
ValidationHelper
.ToString(context) + ", " +
279
"context = " +
ValidationHelper
.ToString(context) + ", " +
510
GlobalLog.Leave("QueryContextChannelBinding",
ValidationHelper
.HashString(result));
636
GlobalLog.Leave("QueryContextAttributes",
ValidationHelper
.ToString(attribute));
901
GlobalLog.Print("NegotiationInfoClass::.ctor() packageInfo:" + packageInfo.ToString("x8") + " negotiationState:" + negotiationState.ToString("x8") + " name:" +
ValidationHelper
.ToString(name));
net\System\Net\_TLSstream.cs (18)
136
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::Read() SecureWorker#" +
ValidationHelper
.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString());
162
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::BeginRead() SecureWorker#" +
ValidationHelper
.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString());
196
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::EndRead() IAsyncResult#" +
ValidationHelper
.HashString(asyncResult));
231
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::Write() SecureWorker#" +
ValidationHelper
.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString());
270
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::BeginWrite() SecureWorker#" +
ValidationHelper
.HashString(m_Worker) + " offset:" + offset.ToString() + " size:" + size.ToString());
303
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::EndWrite() IAsyncResult#" +
ValidationHelper
.HashString(asyncResult));
343
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::MultipleWrite() SecureWorker#" +
ValidationHelper
.HashString(m_Worker) + " buffers.Length:" + buffers.Length.ToString());
373
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::BeginMultipleWrite() SecureWorker#" +
ValidationHelper
.HashString(m_Worker) + " buffers.Length:" + buffers.Length.ToString());
405
GlobalLog.Print("TlsStream#" +
ValidationHelper
.HashString(this) + "::EndMultipleWrite() IAsyncResult#" +
ValidationHelper
.HashString(asyncResult));
net\System\Net\_WebProxyDataBuilder.cs (2)
255
GlobalLog.Print("WebProxyDataBuilder::ParseBypassList() bypassList.Count:" + bypassList.Count + " adding:" +
ValidationHelper
.ToString(trimmedBypassString));
258
GlobalLog.Print("WebProxyDataBuilder::ParseBypassList() bypassList.Count:" + bypassList.Count + " added:" +
ValidationHelper
.ToString(trimmedBypassString));
net\System\Net\_WinHttpWebProxyDataBuilder.cs (2)
13
GlobalLog.Enter("WinHttpWebProxyBuilder#" +
ValidationHelper
.HashString(this) + "::BuildInternal()");
66
GlobalLog.Leave("WinHttpWebProxyBuilder#" +
ValidationHelper
.HashString(this) + "::BuildInternal()");
net\System\Net\Authorization.cs (5)
26
m_Message =
ValidationHelper
.MakeStringNull(token);
37
m_Message =
ValidationHelper
.MakeStringNull(token);
51
m_Message =
ValidationHelper
.MakeStringNull(token);
52
m_ConnectionGroupId =
ValidationHelper
.MakeStringNull(connectionGroupId);
91
string[] newValue =
ValidationHelper
.MakeEmptyArrayNull(value);
net\System\Net\connectionpool.cs (27)
391
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::Create");
410
GlobalLog.Print("Create pooledStream#"+
ValidationHelper
.HashString(newObj));
420
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::Create",
ValidationHelper
.HashString(newObj));
429
GlobalLog.Print("Destroy pooledStream#"+
ValidationHelper
.HashString(pooledStream));
473
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::GetFromPool");
485
GlobalLog.Print("GetFromGeneralPool pooledStream#"+
ValidationHelper
.HashString(res));
488
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::GetFromPool",
ValidationHelper
.HashString(res));
499
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::Get", result.ToString());
512
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::Get","throw Timeout WebException");
573
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::Get",
ValidationHelper
.HashString(pooledStream));
603
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::GetConnection");
618
GlobalLog.Print("GetConnection:"+
ValidationHelper
.HashString(this)+" going async");
651
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::GetConnection",
ValidationHelper
.HashString(stream));
676
GlobalLog.Print("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::PutConnection");
728
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::PutNew", "#"+
ValidationHelper
.HashString(pooledStream));
737
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::PutNew");
746
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::ReclaimEmancipatedObjects");
765
GlobalLog.Print("EmancipatedObject pooledStream#"+
ValidationHelper
.HashString(pooledStream));
779
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::ReclaimEmancipatedObjects",emancipatedObjectFound.ToString());
789
GlobalLog.Enter("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::UserCreateRequest");
803
GlobalLog.Leave("ConnectionPool#" +
ValidationHelper
.HashString(this) + "::UserCreateRequest",
ValidationHelper
.HashString(pooledStream));
net\System\Net\cookie.cs (3)
249
if (
ValidationHelper
.IsBlankString(value) || !InternalSetName(value)) {
256
if (
ValidationHelper
.IsBlankString(value) || value[0] == '$' || value.IndexOfAny(Reserved2Name) != -1) {
668
GlobalLog.Assert(value == CookieVariant.Rfc2965, "Cookie#{0}::set_Variant()|value:{1}" ,
ValidationHelper
.HashString(this), value);
net\System\Net\cookiecontainer.cs (4)
633
GlobalLog.Print("CookieContainer#" +
ValidationHelper
.HashString(this) + "::CookieCutter() uri:" + uri + " headerName:" + headerName + " setCookieHeader:" + setCookieHeader + " isThrow:" + isThrow);
649
GlobalLog.Print("CookieContainer#" +
ValidationHelper
.HashString(this) + "::CookieCutter() CookieParser returned cookie:" +
ValidationHelper
.ToString(cookie));
658
if (
ValidationHelper
.IsBlankString(cookie.Name)) {
net\System\Net\CredentialCache.cs (3)
469
return "[" + Host.Length.ToString(NumberFormatInfo.InvariantInfo) + "]:" + Host + ":" + Port.ToString(NumberFormatInfo.InvariantInfo) + ":" +
ValidationHelper
.ToString(AuthenticationType);
563
return "[" + UriPrefixLength.ToString(NumberFormatInfo.InvariantInfo) + "]:" +
ValidationHelper
.ToString(UriPrefix) + ":" +
ValidationHelper
.ToString(AuthenticationType);
net\System\Net\filewebrequest.cs (1)
167
if (
ValidationHelper
.IsBlankString(value)) {
net\System\Net\FtpWebRequest.cs (40)
557
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetResponse");
698
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetResponse", "returns #"+
ValidationHelper
.HashString(m_FtpWebResponse));
716
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetResponse");
792
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetResponse");
805
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetResponse");
866
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetResponse");
883
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetRequestStream");
938
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetRequestStream");
954
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetRequestStream");
996
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetRequestStream");
1006
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetRequestStream");
1047
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetRequestStream");
1103
GlobalLog.Print("Request being submitted"+
ValidationHelper
.HashString(this));
1162
if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection,
ValidationHelper
.HashString(connection)));
1224
GlobalLog.Print("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::TimerCallback");
1227
GlobalLog.Print("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::TimerCallback aborting connection");
1267
if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection,
ValidationHelper
.HashString(m_Connection)));
1282
GlobalLog.Print("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetException");
1335
GlobalLog.ThreadContract(ThreadKinds.User | ThreadKinds.Sync, "FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetWritingContext");
1357
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::SyncRequestCallback", "#"+
ValidationHelper
.HashString(obj));
1364
GlobalLog.Print("SyncRequestCallback() exp:"+
ValidationHelper
.HashString(exception)+" completedRequest:"+
ValidationHelper
.HashString(completedRequest));
1409
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::SyncRequestCallback");
1418
GlobalLog.Enter("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::AsyncRequestCallback", "#"+
ValidationHelper
.HashString(obj));
1430
GlobalLog.Print("AsyncRequestCallback() stream:"+
ValidationHelper
.HashString(stream)+" conn:"+
ValidationHelper
.HashString(connection)+" exp:"+
ValidationHelper
.HashString(exception)+" completedRequest:"+
ValidationHelper
.HashString(completedRequest));
1456
if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection,
ValidationHelper
.HashString(connection)));
1536
GlobalLog.Leave("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::AsyncRequestCallback");
1555
GlobalLog.Print("FtpWebRequest#" +
ValidationHelper
.HashString(this) + "::FinishRequestStage : stage="+stage);
1622
if (Logging.On) Logging.PrintInfo(Logging.Web, this, "", SR.GetString(SR.net_log_releasing_connection,
ValidationHelper
.HashString(connection)));
1684
GlobalLog.Print("FtpWebRequest#"+
ValidationHelper
.HashString(this)+"::Abort()");
1947
GlobalLog.Print("FtpWebRequest#"+
ValidationHelper
.HashString(this)+"::EnsureFtpWebResponse returns #"+
ValidationHelper
.HashString(m_FtpWebResponse)+" with stream#"+
ValidationHelper
.HashString(m_FtpWebResponse.m_ResponseStream));
2013
if (!
ValidationHelper
.IsBlankString(domain)) {
net\System\Net\FtpWebResponse.cs (1)
37
GlobalLog.Print("FtpWebResponse#" +
ValidationHelper
.HashString(this) + "::.ctor(" + contentLength.ToString() + ","+ statusLine+ ")");
net\System\Net\HttpListener.cs (82)
633
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::AddPrefix() uriPrefix:" + uriPrefix);
673
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::AddPrefix() mapped uriPrefix:" + uriPrefix + " to registeredPrefix:" + registeredPrefix);
675
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::AddPrefix() calling UnsafeNclNativeMethods.HttpApi.HttpAddUrl[ToUrlGroup]");
709
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::RemovePrefix() uriPrefix:" + uriPrefix);
1022
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::Abort()");
1070
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::Dispose()");
1160
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::GetContext() calling UnsafeNclNativeMethods.HttpApi.HttpReceiveHttpRequest RequestId:" + requestId);
1172
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::GetContext() call to UnsafeNclNativeMethods.HttpApi.HttpReceiveHttpRequest returned:" + statusCode);
1210
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::GetContext() HandleAuthentication() returned httpContext#" +
ValidationHelper
.HashString(httpContext));
1233
if (Logging.On) Logging.Exit(Logging.HttpListener, this, "GetContext", "HttpListenerContext#" +
ValidationHelper
.HashString(httpContext) + " RequestTraceIdentifier#" + (httpContext != null ? httpContext.Request.RequestTraceIdentifier.ToString() : "<null>"));
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));
1287
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::EndGetContext() asyncResult:" +
ValidationHelper
.ToString(asyncResult));
1305
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::EndGetContext() returning HttpListenerContext#" +
ValidationHelper
.ToString(httpContext));
1306
if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndGetContext", httpContext == null ? "<no context>" : "HttpListenerContext#" +
ValidationHelper
.HashString(httpContext) + " RequestTraceIdentifier#" + httpContext.Request.RequestTraceIdentifier);
1328
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() memoryBlob:0x" + ((IntPtr) memoryBlob.RequestBlob).ToString("x"));
1340
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() authorizationHeader:" +
ValidationHelper
.ToString(authorizationHeader));
1355
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() got principal:" +
ValidationHelper
.ToString(principal) + " principal.Identity.Name:" +
ValidationHelper
.ToString(principal.Identity.Name) + " creating request");
1366
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() clearing principal cache");
1414
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() AuthenticationSchemeSelectorDelegate() returned authenticationScheme:" + authenticationScheme);
1421
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() AuthenticationSchemeSelectorDelegate() returned authenticationScheme:" + 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)));
1536
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() Performing Authentication headerScheme:" +
ValidationHelper
.ToString(headerScheme));
1540
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() package:WDigest headerScheme:" + headerScheme);
1561
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() verb:" + verb + " context.IsValidContext:" + context.IsValidContext.ToString());
1564
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() GetOutgoingDigestBlob() returned IsCompleted:" + context.IsCompleted + " statusCodeNew:" + statusCodeNew + " outBlob:[" + outBlob + "]");
1585
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() GetContextToken() returned:" + statusCodeNew.ToString());
1592
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() error: GetContextToken() returned:null statusCodeNew:" + statusCodeNew.ToString());
1597
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() creating new WindowsIdentity() from userContext:" + userContext.DangerousGetHandle().ToString("x8"));
1623
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() headerScheme:" + headerScheme);
1624
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() returned context#" +
ValidationHelper
.HashString(oldContext) + " for connectionId:" + connectionId);
1645
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() FromBase64String threw a FormatException.");
1652
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() GetOutgoingBlob() returned IsCompleted:" + context.IsCompleted + " statusCodeNew:" + statusCodeNew);
1687
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() GetContextToken() failed with statusCodeNew:" + statusCodeNew.ToString());
1692
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() creating new WindowsIdentity() from userContext:" + userContext.DangerousGetHandle().ToString("x8"));
1699
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() inserting principal#" +
ValidationHelper
.HashString(principal) + " for connectionId:" + connectionId);
1719
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() RegisterForDisconnectNotification() failed.");
1757
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() basic identity found, userName:" + userName);
1767
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() FromBase64String threw a FormatException.");
1774
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() got principal:" +
ValidationHelper
.ToString(principal) + " principal.Identity.Name:" +
ValidationHelper
.ToString(principal.Identity.Name) + " creating request");
1779
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() handshake has failed");
1820
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() failed context#" +
ValidationHelper
.HashString(context) + " for connectionId:" + connectionId + " because of error:" + httpError.ToString());
1857
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() failed context#" +
ValidationHelper
.HashString(context) + " for connectionId:" + connectionId + " because of failed HttpWaitForDisconnect");
1897
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() SendUnauthorized(Scheme:" + authenticationScheme + ")");
2228
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::BuildChallenge() authenticationScheme:" + authenticationScheme.ToString());
2244
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::BuildChallenge() package:WDigest");
2257
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::BuildChallenge() GetOutgoingDigestBlob() returned IsCompleted:" + context.IsCompleted + " statusCode:" + statusCode + " outBlob:[" + outBlob + "]");
2285
GlobalLog.Assert(disconnectResult == null, "HttpListener#{0}::RegisterForDisconnectNotification()|Called with a disconnectResult.",
ValidationHelper
.HashString(this));
2289
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::RegisterForDisconnectNotification() calling UnsafeNclNativeMethods.HttpApi.HttpWaitForDisconnect");
2299
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::RegisterForDisconnectNotification() call to UnsafeNclNativeMethods.HttpApi.HttpWaitForDisconnect returned:" + statusCode);
2319
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::RegisterForDisconnectNotification() call to UnsafeNclNativeMethods.HttpApi.HttpWaitForDisconnect threw. statusCode:" + statusCode);
2325
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::SendInternalError() requestId:" +
ValidationHelper
.ToString(requestId));
2377
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::SendInternalError() calling UnsafeNclNativeMethods.HttpApi.HttpSendHtthttpResponse");
2414
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::SendInternalError() call to UnsafeNclNativeMethods.HttpApi.HttpSendHttpResponse returned:" + statusCode);
2417
GlobalLog.Print("HttpListener#" +
ValidationHelper
.HashString(this) + "::HandleAuthentication() SendUnauthorized() returned:" + statusCode);
2440
Logging.Enter(Logging.HttpListener, "HttpListener#" +
ValidationHelper
.HashString(this) +
2496
ValidationHelper
.HashString(this) + "::GetChannelBindingFromTls() " +
2713
GlobalLog.Print("DisconnectAsyncResult#" +
ValidationHelper
.HashString(this) + "::.ctor() httpListener#" +
ValidationHelper
.HashString(httpListener) + " connectionId:" + connectionId);
2721
GlobalLog.Print("DisconnectAsyncResult#" +
ValidationHelper
.HashString(this) + "::.ctor() overlapped#" +
ValidationHelper
.HashString(overlapped) + " nativeOverlapped:" + ((IntPtr)m_NativeOverlapped).ToString("x"));
2734
GlobalLog.Assert(oldValue != 1, "DisconnectAsyncResult#{0}::HandleDisconnect()|StartOwningDisconnectHandling() called twice.",
ValidationHelper
.HashString(this));
2754
GlobalLog.Print("DisconnectAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::WaitCallback() m_ConnectionId:" + asyncResult.m_ConnectionId);
2767
GlobalLog.Print("DisconnectAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::WaitCallback() callbackOverlapped#" +
ValidationHelper
.HashString(callbackOverlapped) + " m_ConnectionId:" + asyncResult.m_ConnectionId);
2773
GlobalLog.Print("DisconnectAsyncResult#" +
ValidationHelper
.HashString(this) + "::HandleDisconnect() DisconnectResults#" +
ValidationHelper
.HashString(m_HttpListener.DisconnectResults) + " removing for m_ConnectionId:" + m_ConnectionId);
2804
GlobalLog.Assert(oldValue == 2, "DisconnectAsyncResult#{0}::HandleDisconnect()|Expected OwnershipState of 2, saw {1}.",
ValidationHelper
.HashString(this), oldValue);
net\System\Net\HttpListenerContext.cs (11)
35
if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, ".ctor", "httpListener#" +
ValidationHelper
.HashString(httpListener) + " requestBlob=" +
ValidationHelper
.HashString((IntPtr) memoryBlob.RequestBlob));
40
GlobalLog.Print("HttpListenerContext#" +
ValidationHelper
.HashString(this) + "::.ctor() HttpListener#" +
ValidationHelper
.HashString(m_Listener) + " HttpListenerRequest#" +
ValidationHelper
.HashString(m_Request));
48
GlobalLog.Print("HttpListenerContext#" +
ValidationHelper
.HashString(this) + "::SetIdentity() mutual:" + (mutualAuthentication == null ? "<null>" : mutualAuthentication) + " Principal#" +
ValidationHelper
.HashString(principal));
62
GlobalLog.Print("HttpListenerContext#" +
ValidationHelper
.HashString(this) + "::.Response_get() HttpListener#" +
ValidationHelper
.HashString(m_Listener) + " HttpListenerRequest#" +
ValidationHelper
.HashString(m_Request) + " HttpListenerResponse#" +
ValidationHelper
.HashString(m_Response));
net\System\Net\HttpListenerRequest.cs (58)
134
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(httpListenerRequest) + "::ProcessClientCertificate() pClientCertInfo:" +
ValidationHelper
.ToString((IntPtr)pClientCertInfo)
135
+ " pClientCertInfo->CertFlags:" +
ValidationHelper
.ToString(pClientCertInfo->CertFlags)
136
+ " pClientCertInfo->CertEncodedSize:" +
ValidationHelper
.ToString(pClientCertInfo->CertEncodedSize)
137
+ " pClientCertInfo->pCertEncoded:" +
ValidationHelper
.ToString((IntPtr)pClientCertInfo->pCertEncoded)
138
+ " pClientCertInfo->Token:" +
ValidationHelper
.ToString((IntPtr)pClientCertInfo->Token)
139
+ " pClientCertInfo->CertDeniedByMapper:" +
ValidationHelper
.ToString(pClientCertInfo->CertDeniedByMapper));
147
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(httpListenerRequest) + "::ProcessClientCertificate() caught CryptographicException in X509Certificate2..ctor():" +
ValidationHelper
.ToString(exception));
151
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(httpListenerRequest) + "::ProcessClientCertificate() caught SecurityException in X509Certificate2..ctor():" +
ValidationHelper
.ToString(exception));
161
GlobalLog.Print("ListenerClientCertAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::WaitCallback() calling Complete()");
182
GlobalLog.Print("ListenerClientCertAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::WaitCallback() errorCode:[" + errorCode.ToString() + "] numBytes:[" + numBytes.ToString() + "] nativeOverlapped:[" + ((long)nativeOverlapped).ToString() + "]");
252
if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, ".ctor", "httpContext#" +
ValidationHelper
.HashString(httpContext) + " memoryBlob# " +
ValidationHelper
.HashString((IntPtr) memoryBlob.RequestBlob));
281
GlobalLog.Print("HttpListenerContext#" +
ValidationHelper
.HashString(this) + "::.ctor() RequestId:" + RequestId + " ConnectionId:" + m_ConnectionId + " RawConnectionId:" + memoryBlob.RequestBlob->RawConnectionId + " UrlContext:" + memoryBlob.RequestBlob->UrlContext + " RawUrl:" + m_RawUrl + " Version:" + m_Version.ToString() + " Secure:" + m_SslStatus.ToString());
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));
411
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ContentLength_get() returning m_ContentLength:" + m_ContentLength + " m_BoundaryType:" + m_BoundaryType);
427
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::Headers_get() returning#" +
ValidationHelper
.HashString(m_WebHeaders));
437
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::HttpMethod_get() returning m_HttpMethod:" +
ValidationHelper
.ToString(m_HttpMethod));
583
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ClientCertificateError_get() returning ClientCertificateError:" +
ValidationHelper
.ToString(m_ClientCertificateError));
609
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::GetClientCertificate() returning m_ClientCertificate:" +
ValidationHelper
.ToString(m_ClientCertificate));
611
if(Logging.On)Logging.Exit(Logging.HttpListener, this, "GetClientCertificate",
ValidationHelper
.ToString(m_ClientCertificate));
637
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::EndGetClientCertificate() returning m_ClientCertificate:" +
ValidationHelper
.ToString(m_ClientCertificate));
639
if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndGetClientCertificate",
ValidationHelper
.HashString(clientCertificate));
661
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ParseCookies() uri:" + uri + " setCookieHeader:" + setCookieHeader);
666
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ParseCookies() CookieParser returned cookie:" +
ValidationHelper
.ToString(cookie));
745
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::KeepAlive_get() returning:" + m_KeepAlive);
755
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::RemoteEndPoint_get() returning:" + m_RemoteEndPoint);
765
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::LocalEndPoint_get() returning:" + m_LocalEndPoint);
831
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() calling UnsafeNclNativeMethods.HttpApi.HttpReceiveClientCertificate size:" + size);
844
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() call to UnsafeNclNativeMethods.HttpApi.HttpReceiveClientCertificate returned:" + statusCode + " bytesReceived:" + bytesReceived);
885
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate()");
929
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() calling UnsafeNclNativeMethods.HttpApi.HttpReceiveClientCertificate size:" + size);
942
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() call to UnsafeNclNativeMethods.HttpApi.HttpReceiveClientCertificate returned:" + statusCode + " bytesReceived:" + bytesReceived);
949
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() pClientCertInfo:" +
ValidationHelper
.ToString((IntPtr)pClientCertInfo)
950
+ " pClientCertInfo->CertFlags:" +
ValidationHelper
.ToString(pClientCertInfo->CertFlags)
951
+ " pClientCertInfo->CertEncodedSize:" +
ValidationHelper
.ToString(pClientCertInfo->CertEncodedSize)
952
+ " pClientCertInfo->pCertEncoded:" +
ValidationHelper
.ToString((IntPtr)pClientCertInfo->pCertEncoded)
953
+ " pClientCertInfo->Token:" +
ValidationHelper
.ToString((IntPtr)pClientCertInfo->Token)
954
+ " pClientCertInfo->CertDeniedByMapper:" +
ValidationHelper
.ToString(pClientCertInfo->CertDeniedByMapper));
962
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() caught CryptographicException in X509Certificate2..ctor():" +
ValidationHelper
.ToString(exception));
965
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::ProcessClientCertificate() caught SecurityException in X509Certificate2..ctor():" +
ValidationHelper
.ToString(exception));
972
GlobalLog.Assert(statusCode == UnsafeNclNativeMethods.ErrorCodes.ERROR_NOT_FOUND, "HttpListenerRequest#{0}::ProcessClientCertificate()|Call to UnsafeNclNativeMethods.HttpApi.HttpReceiveClientCertificate() failed with statusCode {1}.",
ValidationHelper
.HashString(this), statusCode);
995
GlobalLog.Print("HttpListenerRequest#" +
ValidationHelper
.HashString(this) + "::RequestUri_get() returning m_RequestUri:" +
ValidationHelper
.ToString(m_RequestUri));
net\System\Net\HttpListenerResponse.cs (32)
181
if(Logging.On)Logging.PrintInfo(Logging.HttpListener, this, "CopyFrom", "templateResponse#"+
ValidationHelper
.HashString(templateResponse));
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));
352
if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", " responseEntity="+
ValidationHelper
.HashString(responseEntity)+" willBlock="+willBlock);
358
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::Close() ResponseState:" + m_ResponseState + " BoundaryType:" + m_BoundaryType + " ContentLength:" + m_ContentLength);
478
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SendHeaders() pDataChunk:" +
ValidationHelper
.ToString((IntPtr)pDataChunk) + " asyncResult:" +
ValidationHelper
.ToString(asyncResult));
479
GlobalLog.Assert(!SentHeaders, "HttpListenerResponse#{0}::SendHeaders()|SentHeaders is true.",
ValidationHelper
.HashString(this));
522
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SendHeaders() calling UnsafeNclNativeMethods.HttpApi.HttpSendHttpResponse flags:" + flags);
585
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SendHeaders() call to UnsafeNclNativeMethods.HttpApi.HttpSendHttpResponse returned:" + statusCode);
594
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeCookies() entering Set-Cookie: " +
ValidationHelper
.ToString(Headers[HttpResponseHeader.SetCookie]) +" Set-Cookie2: " +
ValidationHelper
.ToString(Headers[HttpKnownHeaderNames.SetCookie2]));
605
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeCookies() now looking at index:" + index + " cookie.Variant:" + cookie.Variant + " cookie:" + cookie.ToString());
630
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeCookies() exiting Set-Cookie: " +
ValidationHelper
.ToString(Headers[HttpResponseHeader.SetCookie]) +" Set-Cookie2: " +
ValidationHelper
.ToString(Headers[HttpKnownHeaderNames.SetCookie2]));
635
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeHeaders()");
636
GlobalLog.Assert(!ComputedHeaders, "HttpListenerResponse#{0}::ComputeHeaders()|ComputedHeaders is true.",
ValidationHelper
.HashString(this));
647
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeHeaders() flags:" + flags + " m_BoundaryType:" + m_BoundaryType + " m_ContentLength:" + m_ContentLength + " m_KeepAlive:" + m_KeepAlive);
665
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeHeaders() flags:" + flags + " m_BoundaryType:" + m_BoundaryType + " m_ContentLength:" + m_ContentLength + " m_KeepAlive:" + m_KeepAlive);
694
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::ComputeHeaders() flags:" + flags + " m_BoundaryType:" + m_BoundaryType + " m_ContentLength:" + m_ContentLength + " m_KeepAlive:" + m_KeepAlive);
718
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SerializeHeaders(HTTP_RESPONSE_HEADERS)");
796
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SerializeHeaders(" + index + "/" + Headers.Count + ") headerName:" +
ValidationHelper
.ToString(headerName) + " lookup:" + lookup + " headerValue:" +
ValidationHelper
.ToString(headerValue));
835
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SerializeHeaders(Unknown) UnknownHeaderCount:" + headers.UnknownHeaderCount);
840
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SerializeHeaders(Known) HttpResponseHeader[" + lookup + "]:" + ((HttpResponseHeader)lookup) + " headerValue:" +
ValidationHelper
.ToString(headerValue));
848
GlobalLog.Print("HttpListenerResponse#" +
ValidationHelper
.HashString(this) + "::SerializeHeaders(Known) pRawValue:" +
ValidationHelper
.ToString((IntPtr)(pKnownHeaders[lookup].pRawValue)) + " RawValueLength:" + pKnownHeaders[lookup].RawValueLength + " lookup:" + lookup);
net\System\Net\HttpWebRequest.cs (205)
565
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestSubmitted() returning:" + ret.ToString());
1010
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ContentLength_set() was:" + _ContentLength + " now:" + value);
1124
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SwitchToContentLength() Switching to HttpWriteMode.ContentLength from:" + HttpWriteMode.ToString());
1210
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SwitchToContentLength() ContentLength was:" + oldContentLength + " now:" + _ContentLength.ToString() + " returning:" + returnValue);
1232
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ClearAuthenticatedConnectionResources()");
1272
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckProtocol(" + onRequestStream + ") HttpWriteMode:" + HttpWriteMode + " SendChunked:" + SendChunked + " ContentLength:" + ContentLength);
1321
if (!
ValidationHelper
.IsBlankString(TransferEncoding)) {
1327
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckProtocol(" + onRequestStream + ") no error, returning null. HttpWriteMode:" + HttpWriteMode + " SendChunked:" + SendChunked + " ContentLength:" + ContentLength);
1351
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetRequestStream");
1413
GlobalLog.Assert(_ReadAResult.InternalPeekCompleted, "HttpWebRequest#{0}::BeginGetRequestStream()|Incomplete _ReadAResult present on request.",
ValidationHelper
.HashString(this));
1414
GlobalLog.Assert(_ReadAResult.Result is Exception, "HttpWebRequest#{0}::BeginGetRequestStream()|_ReadAResult with successful completion already present on request.",
ValidationHelper
.HashString(this));
1425
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetRequestStream() resetting CurrentMethod to " + _OriginVerb);
1433
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetRequestStream",
ValidationHelper
.HashString(asyncResult));
1464
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetRequestStream",
ValidationHelper
.HashString(asyncResult));
1495
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetRequestStream",
ValidationHelper
.HashString(connectStream));
1535
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetRequestStream");
1566
GlobalLog.Assert(_ReadAResult.InternalPeekCompleted, "HttpWebRequest#{0}::GetRequestStream()|Incomplete _ReadAResult present on request.",
ValidationHelper
.HashString(this));
1567
GlobalLog.Assert(_ReadAResult.Result is Exception, "HttpWebRequest#{0}::GetRequestStream()|_ReadAResult with successful completion already present on request.",
ValidationHelper
.HashString(this));
1579
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "GetRequestStream() resetting CurrentMethod to " + _OriginVerb);
1613
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetRequestStream",
ValidationHelper
.HashString(connectStream));
1635
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CanGetRequestStream(" + _OriginVerb + "): " + result);
1649
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CanGetResponseStream(" + CurrentMethod + "): " + result);
1663
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::RequireBody(" + CurrentMethod + "): " + result);
1731
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ErrorStatusCodeNotify");
1732
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ErrorStatusCodeNotify() Connection has reported Error Response Status" + (fatal ? " (fatal)" : ""));
1748
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ErrorStatusCodeNotify() IGNORE connection is not used");
1775
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::DoSubmitRequestProcessing");
1776
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ErrorStatusCodeNotify");
1851
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::DoSubmitRequestProcessing() resubmiting this request.");
1898
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::DoSubmitRequestProcessing", result.ToString());
1914
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetResponse");
1990
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetResponse", "Already Completed, response = " +
ValidationHelper
.HashString(_ReadAResult.Result));
2014
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + ": resetting CurrentMethod to " + _OriginVerb);
2030
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginGetResponse",
ValidationHelper
.HashString(asyncResult));
2056
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetResponse",
ValidationHelper
.HashString(asyncResult));
2082
GlobalLog.Assert(httpWebResponse.ResponseStream != null, "HttpWebRequest#{0}::EndGetResponse()|httpWebResponse.ResponseStream == null",
ValidationHelper
.HashString(this));
2084
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndGetResponse",
ValidationHelper
.HashString(httpWebResponse));
2154
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetResponse");
2243
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + ": resetting CurrentMethod to " + _OriginVerb);
2274
GlobalLog.Assert(httpWebResponse.ResponseStream != null, "HttpWebRequest#{0}::GetResponse()|httpWebResponse.ResponseStream == null",
ValidationHelper
.HashString(this));
2276
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetResponse",
ValidationHelper
.HashString(httpWebResponse));
2313
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::WriteCallDone()");
2318
GlobalLog.Assert(object.ReferenceEquals(stream, _SubmitWriteStream), "HttpWebRequest#{0}::CallDone|Called from invalid stream.",
ValidationHelper
.HashString(this));
2319
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::WriteCallDone() - called for resubmit stream");
2327
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::WriteCallDone() - called during headers");
2359
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::NeedEndSubmitRequest()");
2374
GlobalLog.Assert(oldResult == null, "HttpWebRequest#{0}::NeedEndSubmitRequest()|Duplicate call. typeof(oldResult):",
ValidationHelper
.HashString(this), oldResult != null ? oldResult.GetType().ToString() : "null");
2418
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CallContinueDelegateCallback");
2521
if (
ValidationHelper
.IsBlankString(value)) {
2525
if (
ValidationHelper
.IsInvalidHttpString(value)) {
2800
if (
ValidationHelper
.IsBlankString(value)) {
2853
if (
ValidationHelper
.IsBlankString(value)) {
2955
if (
ValidationHelper
.IsBlankString(value)) {
3137
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::Abort()");
3142
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::Abort() - " + exception);
3283
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::FindServicePoint");
3321
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::InvokeGetRequestStreamCallback");
3322
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::InvokeGetRequestStreamCallback");
3325
GlobalLog.Assert(asyncResult == null || this == (HttpWebRequest)asyncResult.AsyncObject, "HttpWebRequest#{0}::InvokeGetRequestStreamCallback()|this != asyncResult.AsyncObject",
ValidationHelper
.HashString(this));
3335
GlobalLog.LeaveException("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::InvokeGetRequestStreamCallback", exception);
3339
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::InvokeGetRequestStreamCallback", "success");
3359
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestSubmitDone",
ValidationHelper
.HashString(submitStream));
3360
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestSubmitDone");
3407
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestSubmitDone() - already have a core response", _CoreResponse.GetType().FullName);
3412
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestSubmitDone");
3418
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::WriteHeadersCallback",
ValidationHelper
.HashString(stream));
3426
GlobalLog.Print("ConnectStream#" +
ValidationHelper
.HashString(stream) + "::WriteHeaders completed:true BytesLeftToWrite:" + stream.BytesLeftToWrite.ToString());
3436
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::WriteHeadersCallback", errorStatus.ToString());
3452
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestContinue");
3453
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestContinue");
3459
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestContinue - not a POST type request, return");
3463
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestContinue() _RequestContinueCount:" + _RequestContinueCount);
3470
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestContinue() calling ContinueDelegate()");
3485
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetRequestContinue");
3507
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::OpenWriteSideResponseWindow()");
3532
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckWriteSideResponseProcessing() - responseData = DBNull means no response yet, " + (Async?"async: closing write side window": "sync: leaving write side window opened"));
3544
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckWriteSideResponseProcessing() - Repeated SYNC check _NestedWriteSideCheck = " + _NestedWriteSideCheck + ", response =" + responseData.GetType().FullName);
3548
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckWriteSideResponseProcessing() - Response is ready, process here: " + responseData.GetType().FullName);
3565
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Entered with responseOrException: " + responseOrException);
3625
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Write Thread will procees the response.");
3659
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Fatal Exception -> Override old response = " + responseData);
3664
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Error!!! Unexpected (1) Response already set response = " + responseData);
3675
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Warning!!! Unexpected (2) SetResponse, already set response = " + responseData);
3680
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Ignoring current response while SetResponse() is processing an exception");
3696
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetAndOrProcessResponse() - Forcing new exception to re-enter SetResponse() that is being processed with CoreResponseData");
3718
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse");
3719
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse - coreResponseData=" +
ValidationHelper
.HashString(coreResponseData));
3749
GlobalLog.Assert("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse()", "coreResponseData == null");
3751
GlobalLog.LeaveException("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse", new InternalException());
3756
GlobalLog.LeaveException("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse", exception);
3774
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ProcessResponse", "From Cache = " + _HttpResponse.IsFromCache);
3775
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ProcessResponse");
3825
GlobalLog.Assert(object.ReferenceEquals(webException.Response, _HttpResponse), "HttpWebRequset#{0}::ProcessResponse|Different HttpWebResponse in exception versus _HttpResponse.",
ValidationHelper
.HashString(this));
3831
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ProcessResponse");
3843
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse", E.ToString() + "/*** SETRESPONSE IN ERROR ***");
3844
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse");
3984
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SetResponse", httpResult.ToString());
4028
GlobalLog.ThreadContract(ThreadKinds.User | ThreadKinds.Sync, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetConnectingContext");
4039
GlobalLog.Assert("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetConnectingContext", "Called while asynchronous connecting phase not in progress.");
4051
GlobalLog.ThreadContract(ThreadKinds.User | ThreadKinds.Sync, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetWritingContext");
4064
GlobalLog.Assert("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetWritingContext", "Called while asynchronous writing phase not in progress.");
4076
GlobalLog.ThreadContract(ThreadKinds.User | ThreadKinds.Sync, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetReadingContext");
4086
GlobalLog.Assert("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetReadingContext|Called while asynchronous reading phase not in progress.");
4120
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginSubmitRequest");
4121
GlobalLog.ThreadContract(ThreadKinds.User, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginSubmitRequest");
4122
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginSubmitRequest() Method:" + Method + " Address:" + Address);
4126
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::BeginSubmitRequest");
4131
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest");
4132
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest");
4133
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() HaveResponse:" + HaveResponse + " Saw100Continue:" + Saw100Continue);
4154
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() (resubmit) firstResubmission:" + (_OldSubmitWriteStream == null) + " NtlmKeepAlive:" + NtlmKeepAlive);
4158
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() (resubmit) save the real user data _OldSubmitWriteStream#" +
ValidationHelper
.HashString(_OldSubmitWriteStream));
4182
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest CACHED RESPONSE");
4194
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SubmitRequest");
4205
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckCacheRetrieveBeforeSubmit");
4262
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckCacheRetrieveOnResponse");
4340
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckCacheUpdateOnResponse");
4363
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndSubmitRequest");
4364
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndSubmitRequest");
4374
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndSubmitRequest", "InvokeGetRequestStreamCallback(HttpWriteMode==HttpWriteMode.Buffer)");
4386
GlobalLog.Assert(WriteBufferLength != 0 && WriteBuffer[0] < 0x80 && WriteBuffer[0] != 0x0, "HttpWebRequest#{0}::EndSubmitRequest()|Invalid WriteBuffer generated.",
ValidationHelper
.HashString(this));
4403
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndSubmitRequest");
4421
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders async:" + async.ToString());
4422
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders");
4426
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders() ContentLength:" + ContentLength + " HttpWriteMode:" + HttpWriteMode + " _ServicePoint.Understands100Continue:" + _ServicePoint.Understands100Continue + " ExpectContinue:" + ExpectContinue);
4448
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders", true);
4461
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(context) + "::ContinueTimeoutCallback");
4462
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Timer, "HttpWebRequest#" +
ValidationHelper
.HashString(context) + "::ContinueTimeoutCallback");
4468
GlobalLog.Assert("HttpWebRequest#" +
ValidationHelper
.HashString(thisHttpWebRequest) + "::CompleteContinueGate()", "Not a POST type request, must not come here.");
4483
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(thisHttpWebRequest) + "::ContinueTimeoutCallback");
4554
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(state) + "::EndWriteHeaders_Part2Wrapper");
4556
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(state) + "::EndWriteHeaders_Part2Wrapper");
4564
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2");
4565
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2");
4569
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2() ConnectStream#" +
ValidationHelper
.HashString(submitWriteStream) + " HttpWriteMode:" + HttpWriteMode + " HaveResponse:" + HaveResponse);
4574
GlobalLog.Assert(submitWriteStream != null, "HttpWebRequest#{0}::EndWriteHeaders_Part2()|submitWriteStream == null",
ValidationHelper
.HashString(this));
4580
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2() AllowWriteStreamBuffering:" + AllowWriteStreamBuffering);
4582
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2() BufferOnly:" + submitWriteStream.BufferOnly + " _OldSubmitWriteStream#" +
ValidationHelper
.HashString(_OldSubmitWriteStream) + " submitWriteStream#" +
ValidationHelper
.HashString(submitWriteStream));
4593
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2() _OldSubmitWriteStream#" +
ValidationHelper
.HashString(_OldSubmitWriteStream) + " NtlmKeepAlive:" + NtlmKeepAlive);
4664
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::EndWriteHeaders_Part2");
4933
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::UpdateHeaders");
4934
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::UpdateHeaders");
4975
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::UpdateHeaders");
4985
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::UpdateHeaders");
4994
GlobalLog.Assert(HttpWriteMode!=HttpWriteMode.Unknown, "HttpWebRequest#{0}::SerializeHeaders()|HttpWriteMode:{1}",
ValidationHelper
.HashString(this), HttpWriteMode);
4997
GlobalLog.Assert(!CurrentMethod.ContentBodyNotAllowed, "HttpWebRequest#{0}::SerializeHeaders()|!ContentBodyNotAllowed CurrentMethod:{1} HttpWriteMode:{2} ContentLength:{3}",
ValidationHelper
.HashString(this), CurrentMethod, HttpWriteMode, ContentLength);
5001
GlobalLog.Assert(HttpWriteMode == HttpWriteMode.ContentLength, "HttpWebRequest#{0}::SerializeHeaders()|HttpWriteMode:{1}",
ValidationHelper
.HashString(this), HttpWriteMode);
5002
GlobalLog.Assert(!CurrentMethod.ContentBodyNotAllowed, "HttpWebRequest#{0}::SerializeHeaders()|!ContentBodyNotAllowed CurrentMethod:{1} HttpWriteMode:{2} ContentLength:{3}",
ValidationHelper
.HashString(this), CurrentMethod, HttpWriteMode, ContentLength);
5043
if (!
ValidationHelper
.IsBlankString(Connection)) {
5063
GlobalLog.Assert(_ServicePoint != null, "HttpWebRequest#{0}::SerializeHeaders()|_ServicePoint == null",
ValidationHelper
.HashString(this));
5110
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::SerializeHeaders(), bytesCount = " + offset.ToString());
5148
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::.ctor(" + uri.ToString() + ")");
5402
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetConnectionGroupLine");
5440
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::GetConnectionGroupLine", connectionLine.ToString());
5519
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmitForAuth");
5520
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmitForAuth");
5540
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmitForAuth() ProxyAuthenticationState.AttemptAuthenticate() returns result:" + result.ToString());
5557
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmitForAuth() ServerAuthenticationState.AttemptAuthenticate() returns result:" + result.ToString());
5559
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmitForAuth", result);
5577
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmitForCache");
5636
GlobalLog.Enter("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit");
5637
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit");
5653
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5730
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5741
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5744
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit() Location:" + location);
5751
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5774
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5832
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit() disabling upload HttpWriteMode:" + HttpWriteMode + " SubmitWriteStream#" +
ValidationHelper
.HashString(_SubmitWriteStream));
5833
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit() changing Verb from " + CurrentMethod + " to " + KnownHttpVerb.Get);
5883
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit() CurrentMethod=" + CurrentMethod);
5890
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5898
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5903
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5908
GlobalLog.Assert(HttpWriteMode != HttpWriteMode.Unknown, "HttpWebRequest#{0}::CheckResubmit()|HttpWriteMode:{1}",
ValidationHelper
.HashString(this), HttpWriteMode);
5913
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "false");
5922
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckResubmit", "true");
5936
GlobalLog.Leave("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckRedirectPermission", "false");
5975
GlobalLog.ThreadContract(ThreadKinds.Unknown, "HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ClearRequestForResubmit");
5990
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ClearRequestForResubmit() draining ResponseStream");
6044
GlobalLog.Assert(HttpWriteMode != HttpWriteMode.Unknown, "HttpWebRequest#{0}::ClearRequestForResubmit()|HttpWriteMode:{1}",
ValidationHelper
.HashString(this), HttpWriteMode);
6050
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ClearRequestForResubmit() _WriteAResult:" +
ValidationHelper
.ToString(_WriteAResult));
6055
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ClearRequestForResubmit() calling SetRequestContinue()");
6079
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::ClearRequestForResubmit() closing RequestStream");
6096
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::FinishRequest()");
6103
GlobalLog.Print("HttpWebRequest#" +
ValidationHelper
.HashString(this) + "::CheckFinalStatus() - status" + (int)ResponseStatusCode);
net\System\Net\HttpWebResponse.cs (1)
203
if (m_CharacterSet == null && !
ValidationHelper
.IsBlankString(contentType)) {
net\System\Net\Internal.cs (1)
1514
GlobalLog.Print("SecurityBufferDescriptor #" +
ValidationHelper
.HashString(this));
net\System\Net\IPEndPoint.cs (3)
60
if (!
ValidationHelper
.ValidateTcpPort(port)) {
74
if (!
ValidationHelper
.ValidateTcpPort(port)) {
105
if (!
ValidationHelper
.ValidateTcpPort(value)) {
net\System\Net\Logging.cs (16)
312
string lineA = GetObjectName(objA) + "#" +
ValidationHelper
.HashString(objA);
313
string lineB = GetObjectName(objB) + "#" +
ValidationHelper
.HashString(objB);
326
Enter(traceSource, GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj), method, param);
337
Enter(traceSource, GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj), method, paramObject);
359
paramObjectValue = GetObjectName(paramObject) + "#" +
ValidationHelper
.HashString(paramObject);
395
retValue = GetObjectName(retObject)+ "#" +
ValidationHelper
.HashString(retObject);
409
retValue = GetObjectName(retObject) + "#" +
ValidationHelper
.HashString(retObject);
423
Exit(traceSource, GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj), method, retValue);
433
if (!
ValidationHelper
.IsBlankString(retValue)) {
470
if (!
ValidationHelper
.IsBlankString(e.StackTrace)) {
495
GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj)
507
GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj)
530
GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj)
554
GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj)
561
return GetObjectName(obj) + "#" +
ValidationHelper
.HashString(obj);
592
PrintLine(traceSource, TraceEventType.Verbose, 0, "Data from "+GetObjectName(obj)+"#"+
ValidationHelper
.HashString(obj) +"::"+method);
net\System\Net\mail\SmtpClient.cs (17)
578
GlobalLog.Enter("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendAsync Transport#" +
ValidationHelper
.HashString(transport));
661
GlobalLog.Print("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendAsync calling BeginConnect. Transport#" +
ValidationHelper
.HashString(transport));
694
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendAsync");
704
GlobalLog.Enter("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendAsyncCancel");
714
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendAsyncCancel");
808
GlobalLog.Enter("SmtpClient#" +
ValidationHelper
.HashString(this) + "::Complete");
818
GlobalLog.Print("SmtpClient#" +
ValidationHelper
.HashString(this) + "::Complete Exception: " + exception.ToString());
841
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::Complete");
857
GlobalLog.Enter("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendMessageCallback");
866
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendMessageCallback");
871
GlobalLog.Enter("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendMailCallback");
884
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendMailCallback");
899
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::SendMailCallback");
904
GlobalLog.Enter("SmtpClient#" +
ValidationHelper
.HashString(this) + "::ConnectCallback");
922
GlobalLog.Leave("SmtpClient#" +
ValidationHelper
.HashString(this) + "::ConnectCallback");
net\System\Net\mail\smtpconnection.cs (22)
209
GlobalLog.Print("SmtpConnectiont#" +
ValidationHelper
.HashString(this) + "::Close Transport#" +
ValidationHelper
.HashString(parent) + "putting back pooledStream#" +
ValidationHelper
.HashString(pooledStream));
226
GlobalLog.Print("SmtpConnectiont#" +
ValidationHelper
.HashString(this) + "::Close Transport#" +
ValidationHelper
.HashString(parent) + "closing and putting back pooledStream#" +
ValidationHelper
.HashString(pooledStream));
602
GlobalLog.Enter("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(request) + "::ConnectionCreatedCallback");
614
GlobalLog.Print("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(request) + "::Connect pooledStream has wrong creds " +
ValidationHelper
.HashString(pooledStream));
619
GlobalLog.Leave("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(request) + "::Connect returning asynchronously");
633
GlobalLog.Print("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(request) + "::ConnectionCreatedCallback Connect was aborted " +
ValidationHelper
.HashString(pooledStream));
646
GlobalLog.Leave("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(request) + "::ConnectionCreatedCallback pooledStream#" +
ValidationHelper
.HashString(pooledStream));
662
GlobalLog.Enter("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(this) + "::Connect: sync=" + (synchronous ? "true" : "false"));
670
GlobalLog.Print("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(this) + "::Connect returned" +
ValidationHelper
.HashString(this));
676
GlobalLog.Print("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(this) + "::Connect pooledStream has wrong creds " +
ValidationHelper
.HashString(pooledStream));
680
GlobalLog.Leave("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(this) + "::Connect returning asynchronously");
697
GlobalLog.Leave("ConnectAndHandshakeAsyncResult#" +
ValidationHelper
.HashString(this) + "::Connect pooledStream#" +
ValidationHelper
.HashString(pooledStream));
net\System\Net\mail\SmtpTransport.cs (6)
40
Logging.Enter(Logging.Web, "SmtpPooledStream::Dispose #" +
ValidationHelper
.HashString(this));
56
Logging.Exit(Logging.Web, "SmtpPooledStream::Dispose #" +
ValidationHelper
.HashString(this));
220
GlobalLog.Enter("SmtpTransport#" +
ValidationHelper
.HashString(this) + "::BeginConnect");
238
GlobalLog.Leave("SmtpTransport#" +
ValidationHelper
.HashString(this) + "::BeginConnect Sync Completion");
245
GlobalLog.Enter("SmtpTransport#" +
ValidationHelper
.HashString(this) + "::EndGetConnection");
251
GlobalLog.Leave("SmtpTransport#" +
ValidationHelper
.HashString(this) + "::EndConnect");
net\System\Net\NetWebProxyFinder.cs (45)
64
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::GetProxies() calling ExecuteFindProxyForURL() for destination:" +
ValidationHelper
.ToString(destination) + " returned scriptReturn:" +
ValidationHelper
.ToString(proxyList));
118
GlobalLog.Enter("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable");
125
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable() Attempting auto-detection.");
133
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable() discovered:" +
ValidationHelper
.ToString(scriptLocation) + " engineScriptLocation:" +
ValidationHelper
.ToString(engineScriptLocation));
137
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
145
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
155
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable() using automaticConfigurationScript:" +
ValidationHelper
.ToString(Engine.AutomaticConfigurationScript) + " engineScriptLocation:" +
ValidationHelper
.ToString(engineScriptLocation));
159
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
166
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
174
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable() State:" + State + " engineScriptLocation:" +
ValidationHelper
.ToString(engineScriptLocation));
178
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
185
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable() Update failed. Falling back to automaticConfigurationScript:" +
ValidationHelper
.ToString(Engine.AutomaticConfigurationScript));
190
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
197
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable() All failed.");
208
GlobalLog.Leave("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::EnsureEngineAvailable",
ValidationHelper
.ToString(State));
217
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() location:" +
ValidationHelper
.ToString(location));
249
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() Using backup caching.");
298
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() lastModified:" + lastModified.ToString() + " (script):" + (scriptInstance == null ? "(null)" : scriptInstance.LastModified.ToString()));
320
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() Buffer matched - reusing Engine.");
339
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() IsFromCache:" + tempResponse.IsFromCache.ToString() + " scriptInstance:" +
ValidationHelper
.HashString(scriptInstance));
342
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() Script matched - using existing Engine.");
353
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() Creating AutoWebProxyScriptWrapper.");
372
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() Download() threw:" +
ValidationHelper
.ToString(exception));
409
GlobalLog.Print("NetWebProxyFinder#" +
ValidationHelper
.HashString(this) + "::DownloadAndCompile() retuning newState:" +
ValidationHelper
.ToString(newState));
524
if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_log_proxy_autodetect_script_location_parse_error,
ValidationHelper
.ToString(url)));
525
GlobalLog.Print("NetWebProxyFinder::SafeDetectAutoProxyUrl() Uri.TryParse() failed url:" +
ValidationHelper
.ToString(url));
net\System\Net\NetworkInformation\ping.cs (2)
285
if (
ValidationHelper
.IsBlankString(hostNameOrAddress)) {
399
if (
ValidationHelper
.IsBlankString(hostNameOrAddress)) {
net\System\Net\SecureProtocols\_SslStream.cs (1)
876
GlobalLog.Print("SecureChannel#" +
ValidationHelper
.HashString(this) + "::***Processing an error Status = " + message.Status.ToString());
net\System\Net\ServicePoint.cs (32)
108
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::.ctor(" + lookupString+")");
144
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::.ctor(" + lookupString+")");
204
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::FindConnectionGroup() lookupStr:[" +
ValidationHelper
.ToString(connName) + "]");
210
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::FindConnectionGroup() adding ConnectionGroup lookupStr:[" + lookupStr + "]");
215
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::FindConnectionGroup() using existing ConnectionGroup");
217
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::FindConnectionGroup() returning ConnectionGroup:" +
ValidationHelper
.ToString(entry) + (entry!=null ? " ConnLimit:" + entry.ConnectionLimit.ToString() : ""));
396
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() Finding ConnectionGroup:[" + connName + "]");
398
GlobalLog.Assert(connGroup != null, "ServicePoint#{0}::SubmitRequest()|connGroup == null",
ValidationHelper
.HashString(this));
407
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::SubmitRequest() Using Connection#" +
ValidationHelper
.HashString(connToUse));
427
if ( !
ValidationHelper
.ValidateRange(value, Timeout.Infinite, Int32.MaxValue)) {
478
GlobalLog.Assert(!m_HostMode, "ServicePoint#{0}::InternalAddress|Can't be used in Host Mode.",
ValidationHelper
.HashString(this));
508
if ( !
ValidationHelper
.ValidateRange(value, Timeout.Infinite, Int32.MaxValue)) {
559
if ( !
ValidationHelper
.ValidateRange(value, -1, Int32.MaxValue)) {
980
GlobalLog.Enter("ServicePoint#" +
ValidationHelper
.HashString(this) + "::IncrementConnection()", m_CurrentConnections.ToString());
988
GlobalLog.Assert(m_ExpiringTimer != null, "ServicePoint#{0}::IncrementConnection|First connection active, but ServicePoint wasn't idle.",
ValidationHelper
.HashString(this));
999
GlobalLog.Leave("ServicePoint#" +
ValidationHelper
.HashString(this) + "::IncrementConnection()", m_CurrentConnections.ToString());
1011
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Timer, "ServicePoint#" +
ValidationHelper
.HashString(this) + "::DecrementConnection");
1012
GlobalLog.Enter("ServicePoint#" +
ValidationHelper
.HashString(this) + "::DecrementConnection()", m_CurrentConnections.ToString());
1020
GlobalLog.Assert(m_ExpiringTimer == null, "ServicePoint#{0}::DecrementConnection|Expiring timer set on non-idle ServicePoint.",
ValidationHelper
.HashString(this));
1029
GlobalLog.Leave("ServicePoint#" +
ValidationHelper
.HashString(this) + "::DecrementConnection()", m_CurrentConnections.ToString());
1182
GlobalLog.ThreadContract(ThreadKinds.Unknown, ThreadKinds.SafeSources | ThreadKinds.Timer, "ServicePoint#" +
ValidationHelper
.HashString(this) + "::ReleaseAllConnectionGroups");
1398
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::ConnectSocketInternal() resuming previous state");
1429
GlobalLog.Print("ServicePoint#" +
ValidationHelper
.HashString(this) + "::ConnectSocketInternal() calling BeginConnect() to:" + remoteIPEndPoint.ToString());
1625
GlobalLog.Print("IPHostInformation#" +
ValidationHelper
.HashString(this) + "::GetIPAddressInfoList() Dns.InternalResolveFast() failed with exception:\r\n" + exception.ToString());
1640
GlobalLog.Print("IPHostInformation#" +
ValidationHelper
.HashString(this) + "::GetIPAddressInfoList() Dns.InternalResolveFast() failed with null");
1643
GlobalLog.Print("IPHostInformation#" +
ValidationHelper
.HashString(this) + "::GetIPAddressInfoList() Dns.InternalResolveFast() had thrown an exception");
1648
GlobalLog.Print("IPHostInformation#" +
ValidationHelper
.HashString(this) + "::GetIPAddressInfoList() m_IPAddressInfoList = "+m_IPAddressInfoList);
1662
GlobalLog.Print("IPHostInformation#" +
ValidationHelper
.HashString(this) + "::GetIPAddressInfoList() GetIPAddressInfoList returning null");
1671
GlobalLog.Print("IPHostInformation#" +
ValidationHelper
.HashString(this) + "::SetAddressList("+ipHostEntry.HostName+")");
net\System\Net\ServicePointManager.cs (13)
401
if (!
ValidationHelper
.ValidateRange(value, 0, Int32.MaxValue)) {
438
if ( !
ValidationHelper
.ValidateRange(value, Timeout.Infinite, Int32.MaxValue)) {
749
GlobalLog.Leave("ServicePointManager::FindServicePoint() servicePoint#" +
ValidationHelper
.HashString(servicePoint));
797
GlobalLog.Print("ServicePointManager::FindServicePointHelper() lookup returned WeakReference#" +
ValidationHelper
.HashString(servicePointReference));
800
GlobalLog.Print("ServicePointManager::FindServicePointHelper() successful lookup returned ServicePoint#" +
ValidationHelper
.HashString(servicePoint));
814
GlobalLog.Print("ServicePointManager::FindServicePointHelper() created ServicePoint#" +
ValidationHelper
.HashString(servicePoint));
817
GlobalLog.Print("ServicePointManager::FindServicePointHelper() adding entry WeakReference#" +
ValidationHelper
.HashString(servicePointReference) + " key:[" + tempEntry + "]");
827
GlobalLog.Leave("ServicePointManager::FindServicePointHelper() servicePoint#" +
ValidationHelper
.HashString(servicePoint));
861
GlobalLog.Print("ServicePointManager::FindServicePoint() lookup returned WeakReference#" +
ValidationHelper
.HashString(servicePointReference));
864
GlobalLog.Print("ServicePointManager::FindServicePoint() successfull lookup returned ServicePoint#" +
ValidationHelper
.HashString(servicePoint));
879
GlobalLog.Print("ServicePointManager::FindServicePoint() created ServicePoint#" +
ValidationHelper
.HashString(servicePoint));
882
GlobalLog.Print("ServicePointManager::FindServicePoint() adding entry WeakReference#" +
ValidationHelper
.HashString(servicePointReference) + " key:[" + tempEntry + "]");
892
GlobalLog.Leave("ServicePointManager::FindServicePoint() servicePoint#" +
ValidationHelper
.HashString(servicePoint));
net\System\Net\SocketPermission.cs (3)
165
if (!
ValidationHelper
.ValidateTcpPort(port) && port != SocketPermission.AllPorts) {
569
if (!
ValidationHelper
.ValidateTcpPort(port) && port != SocketPermission.AllPorts) {
753
if (!
ValidationHelper
.ValidateTcpPort(port) && port != SocketPermission.AllPorts) {
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (3)
90
GlobalLog.Print("AcceptOverlappedAsyncResult#" +
ValidationHelper
.HashString(this) + "::PostCallback() setsockopt handle:" + handle.ToString() + " AcceptSocket:" +
ValidationHelper
.HashString(m_AcceptSocket) + " itsHandle:" + m_AcceptSocket.SafeHandle.DangerousGetHandle().ToString() + " returns:" + errorCode.ToString());
139
GlobalLog.Assert(Logging.On, "AcceptOverlappedAsyncResult#{0}::LogBuffer()|Logging is off!",
ValidationHelper
.HashString(this));
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (13)
152
GlobalLog.Print("BaseOverlappedAsyncResult#" +
ValidationHelper
.HashString(this) + "::SetUnmanagedStructures() Cache miss - freeing cache.");
164
GlobalLog.Assert(m_UnmanagedBlob == null, "BaseOverlappedAsyncResult#{0}::SetUnmanagedStructures()|Unmanaged blob already allocated. (Called twice?)",
ValidationHelper
.HashString(this));
190
GlobalLog.Print("BaseOverlappedAsyncResult#" +
ValidationHelper
.HashString(this) + "::EnableCompletionPort() Creating new overlapped cache.");
202
GlobalLog.Print("BaseOverlappedAsyncResult#" +
ValidationHelper
.HashString(this) + "::EnableCompletionPort() Using cached overlapped.");
211
GlobalLog.Print("BaseOverlappedAsyncResult#" +
ValidationHelper
.HashString(this) + "::EnableCompletionPort() overlapped:" +
ValidationHelper
.HashString(m_Cache.Overlapped) + " NativeOverlapped = " + m_Cache.NativeOverlapped.DangerousGetHandle().ToString("x"));
228
GlobalLog.Assert(m_Cache == null, "BaseOverlappedAsyncResult#{0}::SetUnmanagedStructures()|Cache already set up. (Called twice?)",
ValidationHelper
.HashString(this));
327
GlobalLog.Assert(!asyncResult.InternalPeekCompleted, "BaseOverlappedAsyncResult#{0}::CompletionPortCallback()|asyncResult.IsCompleted",
ValidationHelper
.HashString(asyncResult));
329
GlobalLog.Print("BaseOverlappedAsyncResult#" +
ValidationHelper
.HashString(asyncResult) + "::CompletionPortCallback" +
370
GlobalLog.Assert(socketError != 0, "BaseOverlappedAsyncResult#{0}::CompletionPortCallback()|socketError:0 numBytes:{1}",
ValidationHelper
.HashString(asyncResult), numBytes);
373
GlobalLog.Assert(!success, "BaseOverlappedAsyncResult#{0}::CompletionPortCallback()|Unexpectedly succeeded. errorCode:{1} numBytes:{2}",
ValidationHelper
.HashString(asyncResult), errorCode, numBytes);
413
GlobalLog.Assert(!asyncResult.InternalPeekCompleted, "AcceptOverlappedAsyncResult#{0}::OverlappedCallback()|asyncResult.IsCompleted",
ValidationHelper
.HashString(asyncResult));
475
GlobalLog.Assert(m_UnmanagedBlob != null, "BaseOverlappedAsyncResult#{0}::CheckAsyncCallOverlappedResult()|Unmanaged blob isn't allocated.",
ValidationHelper
.HashString(this));
net\System\Net\Sockets\_OverlappedAsyncResult.cs (2)
150
ValidationHelper
.ValidateSegment(buffersCopy[i]);
190
GlobalLog.Assert(Logging.On, "OverlappedAsyncResult#{0}::LogBuffer()|Logging is off!",
ValidationHelper
.HashString(this));
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (1)
196
GlobalLog.Assert(Logging.On, "ReceiveMessageOverlappedAsyncResult#{0}::LogBuffer()|Logging is off!",
ValidationHelper
.HashString(this));
net\System\Net\Sockets\NetworkStream.cs (4)
1069
GlobalLog.ThreadContract(ThreadKinds.Sync, "NetworkStream#" +
ValidationHelper
.HashString(this) + "::MultipleWrite");
1218
GlobalLog.ThreadContract(ThreadKinds.Unknown, "NetworkStream#" +
ValidationHelper
.HashString(this) + "::EndMultipleWrite");
1273
GlobalLog.Print("NetworkStream#" +
ValidationHelper
.HashString(this) + "::SetSocketTimeoutOption() mode:" + mode + " silent:" + silent + " timeout:" + timeout + " m_CurrentReadTimeout:" + m_CurrentReadTimeout + " m_CurrentWriteTimeout:" + m_CurrentWriteTimeout);
1274
GlobalLog.ThreadContract(ThreadKinds.Unknown, "NetworkStream#" +
ValidationHelper
.HashString(this) + "::SetSocketTimeoutOption");
net\System\Net\Sockets\Socket.cs (198)
359
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Available_get() UnsafeNclNativeMethods.OSSOCK.ioctlsocket returns errorCode:" + errorCode);
518
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::set_Blocking() value:" + value.ToString() + " willBlock:" + willBlock.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
569
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Connected() m_IsConnected:"+m_IsConnected);
860
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Bind() localEP:" + localEP.ToString());
923
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::InternalBind() localEP:" + localEP.ToString());
1011
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Connect() DST:" +
ValidationHelper
.ToString(remoteEP));
1051
if (!
ValidationHelper
.ValidateTcpPort(port)) {
1073
if (!
ValidationHelper
.ValidateTcpPort(port)){
1097
if (!
ValidationHelper
.ValidateTcpPort(port)) {
1140
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Close() timeout = " + m_CloseTimeout);
1153
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Close() timeout = " + m_CloseTimeout);
1169
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Listen() backlog:" + backlog.ToString());
1233
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Accept() SRC:" +
ValidationHelper
.ToString(LocalEndPoint));
1320
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Send() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint));
1336
ValidationHelper
.ValidateSegment(buffer);
1431
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SendFile() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint) + " fileName:" + fileName);
1540
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Send() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint) + " size:" + size);
1586
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Send() UnsafeNclNativeMethods.OSSOCK.send returns:" + bytesTransferred.ToString());
1620
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SendTo() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " size:" + size + " remoteEP:" +
ValidationHelper
.ToString(remoteEP));
1687
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SendTo() returning bytesTransferred:" + bytesTransferred.ToString());
1769
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Receive() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint) + " size:" + size);
1857
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Receive() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint));
1872
ValidationHelper
.ValidateSegment(buffer);
2089
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::ReceiveFrom() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " size:" + size + " remoteEP:" + remoteEP.ToString());
2208
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::IOControl() UnsafeNclNativeMethods.OSSOCK.WSAIoctl returns errorCode:" + errorCode);
2261
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::IOControl() UnsafeNclNativeMethods.OSSOCK.WSAIoctl returns errorCode:" + errorCode);
2305
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption(): optionLevel:" + optionLevel.ToString() + " optionName:" + optionName.ToString() + " optionValue:" + optionValue.ToString());
2320
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption(): optionLevel:" + optionLevel.ToString() + " optionName:" + optionName.ToString() + " optionValue:" + optionValue.ToString());
2330
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption() UnsafeNclNativeMethods.OSSOCK.setsockopt returns errorCode:" + errorCode);
2370
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption(): optionLevel:" + optionLevel.ToString() + " optionName:" + optionName.ToString() + " optionValue:" + optionValue.ToString());
2439
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::GetSocketOption() UnsafeNclNativeMethods.OSSOCK.getsockopt returns errorCode:" + errorCode);
2477
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::GetSocketOption() UnsafeNclNativeMethods.OSSOCK.getsockopt returns errorCode:" + errorCode);
2513
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::GetSocketOption() UnsafeNclNativeMethods.OSSOCK.getsockopt returns errorCode:" + errorCode);
2575
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Poll() UnsafeNclNativeMethods.OSSOCK.select returns socketCount:" + socketCount);
2859
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginConnect() endPointSnapshot:" + endPointSnapshot.ToString());
2896
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginConnect() UnsafeNclNativeMethods.OSSOCK.WSAConnect returns errorCode:" + errorCode);
2945
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginConnect() to:" + endPointSnapshot.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
2978
GlobalLog.Enter("Socket#" +
ValidationHelper
.HashString(this) + "::ConnectCallback");
2982
GlobalLog.Assert(asyncResult != null, "Socket#{0}::ConnectCallback()|asyncResult should not be null.",
ValidationHelper
.HashString(this));
2985
GlobalLog.Assert(CleanedUp, "Socket#{0}::ConnectCallback()|asyncResult is compelted but the socket does not have CleanedUp set.",
ValidationHelper
.HashString(this));
2986
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::ConnectCallback", "Already completed, socket must be closed");
3030
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::ConnectCallback() WSAEnumNetworkEvents() failed with errorCode:" + errorCode.ToString());
3035
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::ConnectCallback() ErrorCodes(FdConnect) got errorCode:" + errorCode.ToString());
3063
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::ConnectCallback() caught exception:" + exception.Message + ", CleanedUp:" + CleanedUp);
3074
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::ConnectCallback", errorCode.ToString());
3088
if (!
ValidationHelper
.ValidateTcpPort(port)){
3129
if (!
ValidationHelper
.ValidateTcpPort(port)){
3157
if (!
ValidationHelper
.ValidateTcpPort(port)) {
3223
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginDisconnect() ");
3244
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginDisconnect() UnsafeNclNativeMethods.OSSOCK.DisConnectEx returns:" + errorCode.ToString());
3261
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginDisconnect() returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
3279
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Disconnect() ");
3289
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Disconnect() UnsafeNclNativeMethods.OSSOCK.DisConnectEx returns:" + errorCode.ToString());
3377
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndDisconnect()");
3505
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginSend() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint) + " size:" + size.ToString());
3519
GlobalLog.Print("BeginSend: asyncResult:" +
ValidationHelper
.HashString(asyncResult) + " size:" + size.ToString());
3535
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + size.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
3613
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginSendFile() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint) + " fileName:" + fileName);
3676
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginSendFile() UnsafeNclNativeMethods.OSSOCK.send returns:" + errorCode.ToString());
3742
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginSend() SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint) + " buffers:" + buffers);
3753
GlobalLog.Print("BeginSend: asyncResult:" +
ValidationHelper
.HashString(asyncResult));
3769
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
3855
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndSend() bytesTransferred:" + bytesTransferred.ToString());
3915
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndSendFile()");
4009
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginSendTo() size:" + size.ToString());
4041
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginSendTo() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + size + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4069
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginSendTo() size:" + size.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4126
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndSendTo() bytesTransferred:" + bytesTransferred.ToString());
4253
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginReceive() size:" + size.ToString());
4280
GlobalLog.Assert(errorCode != SocketError.Success, "Socket#{0}::DoBeginReceive()|GetLastWin32Error() returned zero.",
ValidationHelper
.HashString(this));
4282
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginReceive() UnsafeNclNativeMethods.OSSOCK.WSARecv returns:" + errorCode.ToString() + " bytesTransferred:" + bytesTransferred.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4396
GlobalLog.Assert(errorCode != SocketError.Success, "Socket#{0}::DoBeginReceive()|GetLastWin32Error() returned zero.",
ValidationHelper
.HashString(this));
4398
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginReceive() UnsafeNclNativeMethods.OSSOCK.WSARecv returns:" + errorCode.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4533
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginReceiveMessageFrom() size:" + size.ToString());
4606
GlobalLog.Assert("Socket#" +
ValidationHelper
.HashString(this) + "::BeginReceiveMessageFrom()|Returned WSAEMSGSIZE!");
4611
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginReceiveMessageFrom() UnsafeNclNativeMethods.OSSOCK.WSARecvMsg returns:" + errorCode.ToString() + " size:" + size.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4651
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginReceiveMessageFrom() size:" + size.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4709
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndReceiveMessageFrom() bytesTransferred:" + bytesTransferred.ToString());
4828
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginReceiveFrom() size:" + size.ToString());
4861
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginReceiveFrom() UnsafeNclNativeMethods.OSSOCK.WSARecvFrom returns:" + errorCode.ToString() + " size:" + size.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4889
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginReceiveFrom() size:" + size.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
4969
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndReceiveFrom() bytesTransferred:" + bytesTransferred.ToString());
5071
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginAccept()");
5083
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginAccept() queue is empty calling UnsafeNclNativeMethods.OSSOCK.accept");
5102
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginAccept() UnsafeNclNativeMethods.OSSOCK.accept returns:" + errorCode.ToString());
5135
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginAccept() queue is not empty Count:" + acceptQueue.Count.ToString());
5157
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginAccept() returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
5244
GlobalLog.Assert(!willBlockInternal, "Socket#{0}::AcceptCallback|Socket should be in non-blocking state.",
ValidationHelper
.HashString(this));
5252
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::AcceptCallback() UnsafeNclNativeMethods.OSSOCK.accept returns:" + errorCode.ToString());
5263
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::AcceptCallback() caught exception:" + exception.Message + " CleanedUp:" + CleanedUp);
5400
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginAccept() AcceptSocket:" +
ValidationHelper
.HashString(acceptSocket));
5432
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginAccept() UnsafeNclNativeMethods.OSSOCK.AcceptEx returns:" + errorCode.ToString() +
ValidationHelper
.HashString(asyncResult));
5505
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndAccept() acceptedSocket:" +
ValidationHelper
.HashString(result));
5637
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Shutdown() how:" + how.ToString());
5647
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Shutdown() UnsafeNclNativeMethods.OSSOCK.shutdown returns errorCode:" + errorCode);
6150
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::InternalEndConnect() asyncResult:" +
ValidationHelper
.HashString(asyncResult));
6221
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoConnect() connection to:" + endPointSnapshot.ToString());
6243
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Dispose() disposing:true CleanedUp:" + CleanedUp.ToString());
6274
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Dispose() Pending nonblocking operations! m_BlockEventBits:" + m_BlockEventBits.ToString());
6301
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Dispose() Calling m_Handle.Dispose()");
6322
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Dispose() Calling m_Handle.CloseAsIs()");
6400
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Dispose() QueueUserWorkItem for ConnectCallback");
6407
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::Dispose() QueueUserWorkItem for AcceptCallback");
6428
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::InternalShutdown() how:" + how.ToString());
6470
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption() optionLevel:" + optionLevel + " optionName:" + optionName + " optionValue:" + optionValue + " silent:" + silent);
6472
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption() skipping the call");
6485
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetSocketOption() UnsafeNclNativeMethods.OSSOCK.setsockopt returns errorCode:" + errorCode);
6547
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::setMulticastOption(): optionName:" + optionName.ToString() + " MR:" + MR.ToString() + " ipmr:" + ipmr.ToString() + " IPMulticastRequest.Size:" + IPMulticastRequest.Size.ToString());
6557
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::setMulticastOption() UnsafeNclNativeMethods.OSSOCK.setsockopt returns errorCode:" + errorCode);
6585
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::setIPv6MulticastOption(): optionName:" + optionName.ToString() + " MR:" + MR.ToString() + " ipmr:" + ipmr.ToString() + " IPv6MulticastRequest.Size:" + IPv6MulticastRequest.Size.ToString());
6595
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::setIPv6MulticastOption() UnsafeNclNativeMethods.OSSOCK.setsockopt returns errorCode:" + errorCode);
6616
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::setLingerOption(): lref:" + lref.ToString());
6626
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::setLingerOption() UnsafeNclNativeMethods.OSSOCK.setsockopt returns errorCode:" + errorCode);
6654
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::getLingerOpt() UnsafeNclNativeMethods.OSSOCK.getsockopt returns errorCode:" + errorCode);
6685
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::getMulticastOpt() UnsafeNclNativeMethods.OSSOCK.getsockopt returns errorCode:" + errorCode);
6738
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::getIPv6MulticastOpt() UnsafeNclNativeMethods.OSSOCK.getsockopt returns errorCode:" + errorCode);
6763
GlobalLog.Enter("Socket#" +
ValidationHelper
.HashString(this) + "::InternalSetBlocking", "desired:" + desired.ToString() + " willBlock:" + willBlock.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
6766
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::InternalSetBlocking", "ObjectDisposed");
6792
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::InternalSetBlocking() UnsafeNclNativeMethods.OSSOCK.ioctlsocket returns errorCode:" + errorCode);
6805
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::InternalSetBlocking", "errorCode:" + errorCode.ToString() + " willBlock:" + willBlock.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
6888
GlobalLog.Assert(endPointSnapshot.GetType() == typeof(IPEndPoint), "Socket#{0}::BeginConnectEx()|Socket not bound and endpoint not IPEndPoint.",
ValidationHelper
.HashString(this));
6950
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginConnectEx() UnsafeNclNativeMethods.OSSOCK.connect returns:" + errorCode.ToString());
6973
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginConnectEx() to:" + endPointSnapshot.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
6987
GlobalLog.Assert(buffers != null, "Socket#{0}::MultipleSend()|buffers == null",
ValidationHelper
.HashString(this));
6988
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::MultipleSend() buffers.Length:" + buffers.Length.ToString());
7014
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::MultipleSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + buffers.Length.ToString());
7221
GlobalLog.Assert(buffers != null, "Socket#{0}::DoBeginMultipleSend()|buffers == null",
ValidationHelper
.HashString(this));
7222
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::DoBeginMultipleSend() buffers.Length:" + buffers.Length.ToString());
7247
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BeginMultipleSend() UnsafeNclNativeMethods.OSSOCK.WSASend returns:" + errorCode.ToString() + " size:" + buffers.Length.ToString() + " returning AsyncResult:" +
ValidationHelper
.HashString(asyncResult));
7276
GlobalLog.Assert(asyncResult != null, "Socket#{0}::EndMultipleSend()|asyncResult == null",
ValidationHelper
.HashString(this));
7280
GlobalLog.Assert(castedAsyncResult != null, "Socket#{0}::EndMultipleSend()|castedAsyncResult == null",
ValidationHelper
.HashString(this));
7281
GlobalLog.Assert(castedAsyncResult.AsyncObject == this, "Socket#{0}::EndMultipleSend()|castedAsyncResult.AsyncObject != this",
ValidationHelper
.HashString(this));
7282
GlobalLog.Assert(!castedAsyncResult.EndCalled, "Socket#{0}::EndMultipleSend()|castedAsyncResult.EndCalled",
ValidationHelper
.HashString(this));
7300
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::EndMultipleSend() bytesTransferred:" + bytesTransferred.ToString());
7383
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetToConnected() now connected SRC:" +
ValidationHelper
.ToString(LocalEndPoint) + " DST:" +
ValidationHelper
.ToString(RemoteEndPoint));
7396
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetToDisconnected()");
7414
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetToDisconnected()");
7435
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::UpdateStatusAfterSocketError(socketException)");
7446
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::UpdateStatusAfterSocketError(socketException) Invalidating socket.");
7458
GlobalLog.Enter("Socket#" +
ValidationHelper
.HashString(this) + "::UnsetAsyncEventSelect", "m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
7475
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::UnsetAsyncEventSelect() !!! (ignoring) Exception: " + e.ToString());
7476
GlobalLog.Assert(CleanedUp, "Socket#{0}::UnsetAsyncEventSelect|Got exception and CleanedUp not set.",
ValidationHelper
.HashString(this));
7504
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::UnsetAsyncEventSelect", "m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
7509
GlobalLog.Enter("Socket#" +
ValidationHelper
.HashString(this) + "::SetAsyncEventSelect", "blockEventBits:" + blockEventBits.ToString() + " m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
7510
GlobalLog.Assert(blockEventBits != AsyncEventBits.FdNone, "Socket#{0}::SetAsyncEventSelect|Use UnsetAsyncEventSelect for FdNone.",
ValidationHelper
.HashString(this));
7511
GlobalLog.Assert(m_BlockEventBits == AsyncEventBits.FdNone || m_BlockEventBits == blockEventBits, "Socket#{0}::SetAsyncEventSelect|Can't change from one active wait to another.",
ValidationHelper
.HashString(this));
7512
GlobalLog.Assert(m_RegisteredWait == null, "Socket#{0}::SetAsyncEventSelect|Already actively waiting on an op.",
ValidationHelper
.HashString(this));
7534
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::SetAsyncEventSelect() Already Cleaned up, returning ... ", string.Empty);
7562
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::SetAsyncEventSelect() !!! (converting to ObjectDisposed) Exception :" + e.ToString());
7563
GlobalLog.Assert(CleanedUp, "Socket#{0}::SetAsyncEventSelect|WSAEventSelect got exception and CleanedUp not set.",
ValidationHelper
.HashString(this));
7580
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(this) + "::SetAsyncEventSelect", "m_BlockEventBits:" + m_BlockEventBits.ToString() + " willBlockInternal:" + willBlockInternal.ToString());
7586
GlobalLog.Enter("Socket#" +
ValidationHelper
.HashString(state) + "::RegisteredWaitCallback", "m_BlockEventBits:" + ((Socket)state).m_BlockEventBits.ToString());
7610
GlobalLog.Leave("Socket#" +
ValidationHelper
.HashString(state) + "::RegisteredWaitCallback", "m_BlockEventBits:" + ((Socket)state).m_BlockEventBits.ToString());
7648
GlobalLog.Print("Socket#" +
ValidationHelper
.HashString(this) + "::BindToCompletionPort() calling ThreadPool.BindHandle()");
7790
if (s_LoggingEnabled) Logging.PrintInfo(Logging.Sockets, "Socket#" +
ValidationHelper
.HashString(this)
9602
ValidationHelper
.ValidateSegment(localCopy);
net\System\Net\Sockets\TCPClient.cs (3)
100
if (!
ValidationHelper
.ValidateTcpPort(port)) {
193
if (!
ValidationHelper
.ValidateTcpPort(port)) {
325
if (!
ValidationHelper
.ValidateTcpPort(port)) {
net\System\Net\Sockets\TCPListener.cs (3)
54
if (!
ValidationHelper
.ValidateTcpPort(port)) {
75
if (!
ValidationHelper
.ValidateTcpPort(port))
86
if (!
ValidationHelper
.ValidateTcpPort(port)) {
net\System\Net\Sockets\UDPClient.cs (5)
86
if (!
ValidationHelper
.ValidateTcpPort(port)) {
150
if (!
ValidationHelper
.ValidateTcpPort(port)) {
316
if (!
ValidationHelper
.ValidateTcpPort(port)){
443
if (!
ValidationHelper
.ValidateTcpPort(port)) {
907
if (!
ValidationHelper
.ValidateRange(timeToLive, 0, 255)) {
net\System\Net\UnsafeNativeMethods.cs (3)
3046
GlobalLog.Leave("HttpApi::GetKnownHeader() return:" +
ValidationHelper
.ToString(header));
3077
GlobalLog.Leave("HttpApi::GetVerb() return:" +
ValidationHelper
.ToString(verb));
3115
GlobalLog.Enter("HttpApi::GetChunks() memoryBlob:" +
ValidationHelper
.ToString(memoryBlob));
net\System\Net\WebHeaderCollection.cs (7)
528
if (name.IndexOfAny(
ValidationHelper
.InvalidParamChars) != -1) {
542
&& (token.IndexOfAny(
ValidationHelper
.InvalidParamChars) == -1)
651
if (
ValidationHelper
.IsBlankString(header) ) {
692
if (
ValidationHelper
.IsBlankString(name)) {
711
if (
ValidationHelper
.IsBlankString(name)) {
742
if (
ValidationHelper
.IsBlankString(name) ) {
899
if (
ValidationHelper
.IsBlankString(key)) {
net\System\Net\webproxy.cs (16)
154
GlobalLog.Assert(m_EnableAutoproxy, "WebProxy#{0}::.ctor()|Cannot set AutoDetect if usesystemdefault is set.",
ValidationHelper
.HashString(this));
171
GlobalLog.Assert(m_EnableAutoproxy, "WebProxy#{0}::.ctor()|Cannot set ScriptLocation if usesystemdefault is set.",
ValidationHelper
.HashString(this));
269
GlobalLog.Print("WebProxy#" +
ValidationHelper
.HashString(this) + "::GetProxy() destination:" +
ValidationHelper
.ToString(destination));
392
GlobalLog.Print("WebProxy#" +
ValidationHelper
.HashString(this) + "::IsBypassed() destination:" +
ValidationHelper
.ToString(host));
516
GlobalLog.Assert(!_UseRegistry, "WebProxy#{0}::UnsafeUpdateFromRegistry()|_UseRegistry ScriptEngine#{1}",
ValidationHelper
.HashString(this),
ValidationHelper
.HashString(m_ScriptEngine));
556
GlobalLog.Print("WebProxy#" +
ValidationHelper
.HashString(this) + "::GetProxies() destination:" +
ValidationHelper
.ToString(destination));
584
GlobalLog.Print("WebProxy#" +
ValidationHelper
.HashString(this) + "::GetProxyAuto() destination:" +
ValidationHelper
.ToString(destination));
609
GlobalLog.Print("WebProxy#" +
ValidationHelper
.HashString(this) + "::IsBypassedAuto() destination:" +
ValidationHelper
.ToString(destination));
631
GlobalLog.Print("WebProxy#" +
ValidationHelper
.HashString(this) + "::GetProxiesAuto() destination:" +
ValidationHelper
.ToString(destination));
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1249
m_CurrentStream.GetType().Name,
ValidationHelper
.HashString(m_CurrentStream)));