Archived Forum Post

Index of archived forum posts

Question:

HTTP.QuickGetStr through http-Proxy Timeout

Oct 25 '13 at 11:47

Hi guys, im trying to connect through my http-proxy with QuickGetStr. I set the timeout to 10 seconds. If the proxy is reachable everything goes right and i get a response from the required Server but if the proxy is not reachable and im trying to connect through it, the "http.QuickGetStr" is not running into the timeout and just waiting for ever. Here is an example how i use the component:

            Http = new Chilkat.Http();

            try
            {
                if (!Http.UnlockComponent("UNLOCKCODE"))
                {
                    return;
                }

                Http.ConnectTimeout = 10000;
                Http.ReadTimeout = 10000;

                Http.UseIEProxy = false;
                Http.ProxyDomain = Properties.Settings.Default.ProxyAdress;
                Http.ProxyPort = Properties.Settings.Default.ProxyPort;
                Http.ProxyLogin = Properties.Settings.Default.ProxyUser;
                Http.ProxyPassword = Properties.Settings.Default.ProxyPassword;
                Http.ProxyLoginDomain = Properties.Settings.Default.ProxyDomain;

                string htmlPage = Http.QuickGetStr(SysAdress);

                Http.Dispose();
            }
            catch (Exception)
            {
                return;
            }

thanks in advance :)

killika


Accepted Answer

Check to see if these new builds resolve the problem:

64-bit: http://www.chilkatsoft.com/preRelease/ChilkatDotNet4-9.4.1-x64.zip

32-bit: http://www.chilkatsoft.com/preRelease/ChilkatDotNet4-9.4.1-win32.zip


Answer

I can provide a new build for testing, but I would need to know the .NET Framework. (When posting questions, please mention programming language, operating system, .NET Framework, 32-bit/64-bit or both, architecture, Visual Studio version, Perl version, Python version, or anything else that is necessary to identify what might be needed to provide a new build..)


Answer

Sorry for the missing information,

Framework: .NET 4.0 (C#)

OS: Win7 x64

VS: VS2010

Chilkat version: 9.4.1.0

hope that is enough :)