GitHub PushEvent at 2014-05-14 09:42:29
Repository: nuget-binary
Actor: mrward
Payload: {"shas":[["baab2c4fe82ecc5563a331a677e26d884c598ef1","78e20a349b4aa247af6f08cfbf42d02a1cf4a8ea@gmail.com","Fix proxy authentication failing on Mono.\n\nSource code changes:\nhttps://github.com/mrward/nuget/commit/5540acd6583d30f28be278897dda98afadccd065\n\nWhen a system wide proxy is configured for all https requests then a\nrequesting a url such as https://www.nuget.org/api/v2 would fail to\nrequest proxy credentials on Mono so the user would not be prompted.\nInstead the request would be retried 10 times and then fail.\n\nThis only affects https requests. A request made to a http url such\nas http://www.nuget.org/api/v2 would request the proxy credentials\nfrom the credential provider.\n\nWith Microsoft's .NET Framework a WebException is thrown with:\n\n    WebException.Status = ProtocolError\n    WebException.Response.StatusCode = ProxyAuthenticationRequired\n\nException call stack:\n\nSystem.Net.WebException:\n    The remote server returned an error: (407) Proxy\nAuthentication Required.\n   at System.Net.HttpWebRequest.GetResponse()\n\nOn Mono a WebException is thrown with:\n\n    WebException.Status = SecureChannelFailure\n    WebException.Response = null\n\nException call stack:\n\nSystem.Net.WebException: Error getting response stream (The remote server\nreturned a 407 status code.): SecureChannelFailure ---> System.Exception:\n    at\nSystem.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e,\nSystem.String where)\n   at System.Net.WebConnection.CreateTunnel(System.Net.HttpWebRequest request,\nSystem.Uri connectUri, System.IO.Stream stream, System.Byte[] ByRef buffer)\n   at System.Net.WebConnection.CreateStream(System.Net.HttpWebRequest request)\n   at System.Net.WebConnection.InitConnection(System.Object state)\n   at System.Net.WebConnection.<WebConnection>m__20(System.Object state)\n  at System.Net.WebConnection.HandleError (WebExceptionStatus st,\nSystem.Exception e, System.String where) [0x00000] in <filename unknown>:0\n\nTo handle this there is now a special case which checks the exception\nmessage for the string 'The remote server returned a 407 status code.'\nwhen running on Mono.","Matt Ward",true]],"size":1,"ref":"refs/heads/master","head":"baab2c4fe82ecc5563a331a677e26d884c598ef1"}