[Mono-dev] Can anyone explain this to me? It's the Bermuda triangle.

Miljenko Cvjetko mcvjetko at holisticware.net
Tue Apr 22 12:56:35 UTC 2014


Hi

Console.Error is Textwriter maybe calling Flush()???

I can recall that not flushing cout, cerr in c++ might lead to loss of 
output.. This could be the case.

mel


On 20140421 22:23 , Edward Ned Harvey (mono) wrote:
>
> I'm trying to figure out why mono is rejecting one of my server's 
> certs (while not rejecting some others).  I sprinkled WriteLines in 
> the mono source, and I ran with --debug --trace
>
> The last line I ever reach is 635.  And then exceptions are thrown.  
> Neither 638 nor 641 is ever displayed.  I don't know of any way this 
> is physically possible.  I do have 6,000 lines of trace log starting 
> with the WriteLine at 635, if anybody's interested to look at it...
>
> (from 
> 'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs')
>
> internal override bool OnRemoteCertificateValidation(X509Certificate 
> certificate, int[] errors)
>
> {
>
> System.Console.Error.WriteLine("NEDDEBUG 
> 'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs' line 
> 635");
>
>     if (this.ServerCertValidation != null)
>
>     {
>
> System.Console.Error.WriteLine("NEDDEBUG 
> 'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs' line 
> 638");
>
>         return this.ServerCertValidation(certificate, errors);
>
>     }
>
> System.Console.Error.WriteLine("NEDDEBUG 
> 'mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslClientStream.cs' line 
> 641");
>
>     return (errors != null && errors.Length == 0);
>
> }
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140422/d019c229/attachment.html>


More information about the Mono-devel-list mailing list