Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Time-out doesn't occur
User832

Posts: 1
Member Since: 03/26/01
posted March 26, 2001 8:29 AM

I'using a blocking Post method with default timeout (also tried setting timeout in code).
When posting to a non existing .asp on an existing webserver, the application hangs with 100% cpu time.
Even when debugging in VB6, VB cosumes approx. 98% and cannot be stopped (menu's work, only debugger won't stop).
I'm using the latest version.

Marcel
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 26, 2001 9:39 AM


You need to have an "Abort" button that calls Http.Abort to solve the blocking problem. You should also call that in the Form Unload event.

For the CPU problem I recommend that you use the latest DLL's (http://www.dart.com/downloads/update.exe)

Hope this helps!

Tony Priest
Dart Tech Support
User769

Posts: 3
Member Since: 04/27/01
posted April 27, 2001 8:01 AM

I have the same problem. However, my program is not going to be attended by a human who can press the Abort button every time this happens. Surely your synchronous "GET" request should return once the timeout has expired ? Otherwise, what is the point of a timeout value ? We have also tried the latest DLL (as of April 26th) and the problem still persists.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 27, 2001 9:07 AM


I'm unclear on what steps I need to take to recreate this problem. We supply a sample app that Posts to an asp on our Web site. Please tell me what I need to do to make that sample exhibit the error.

Thanks,

Tony Priest
Dart Tech Support
User769

Posts: 3
Member Since: 04/27/01
posted April 27, 2001 9:45 AM

Look at the original poster's message. He was performing a blocking POST (I am using GET) on a non-existant ASP page. My example is intermittent. I will post it if Marcels example is no use to you.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 27, 2001 9:53 AM


If I change the URL in our sample to a non-existant URL, I get an error. Does that not happen for you?

Thanks,

Tony
User769

Posts: 3
Member Since: 04/27/01
posted April 27, 2001 10:04 AM

Your example program works fine for me also, but I am using your component to query thousands of pages. Unless I sit there typing in URLs all day at high speed, I am not going to see the problem in your example program ;-) I will work out a specific code example for you. Please also see message Non-blocked HTTP post by Gary Burns.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX