mono 2.10 under windows vista sp1 HttpWebRequest always throws time out exception -
httpwebrequest throws time out exception run in mono 2.10 under windows vista sp1 32bit. same request completes run under microsoft .net in same machine. here follows code:
string url = "http://maps.googleapis.com/maps/api/geocode/xml?address=1600+amphitheatre+parkway,+mountain+view,+ca&sensor=false"; try { httpwebrequest request = (httpwebrequest)webrequest.create(url); console.writeline(request.getresponse()); } catch (exception ex) { console.writeline(ex.message); }
update:
version of mono:
c:\program files\mono-2.10\bin>mono -v mono jit compiler version 2.10 (tarball) copyright (c) 2002-2011 novell, inc , contributors. www.mono-project.com tls: normal sigsegv: normal notification: thread + polling architecture: x86 disabled: none misc: softdebug llvm: supported, not enabled. gc: included boehm (with typed gc , parallel mark)
i cannot reproduce mono 2.10 on windows 7 x64.
c:\users\owner\development\monobugs>c:\mono-2.10\bin\mono.exe -v mono jit compiler version 2.10 (tarball) copyright (c) 2002-2011 novell, inc , contributors. www.mono-project.com tls: normal sigsegv: normal notification: thread + polling architecture: x86 disabled: none misc: softdebug llvm: supported, not enabled. gc: included boehm (with typed gc , parallel mark)
c:\users\owner\development\monobugs>c:\mono-2.10\bin\mono.exe http.exe system.net.httpwebresponse
Comments
Post a Comment