login about faq

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

asked Oct 21 '13 at 08:54

killika's gravatar image

killika
6113

edited Oct 21 '13 at 08:59


link

answered Oct 25 '13 at 11:47

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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..)

link

answered Oct 23 '13 at 08:59

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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 :)

link

answered Oct 25 '13 at 04:30

killika's gravatar image

killika
6113

edited Oct 25 '13 at 04:31

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×186

Asked: Oct 21 '13 at 08:54

Seen: 1,769 times

Last updated: Oct 25 '13 at 11:47

powered by OSQA