Login  
Search All Forums
Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web Enterprise for ActiveX
Topic: Problem using KeepAlive
Intronis
sfrank@intronis.com

From: Englewood, NJ USA
Posts: 15
Member Since: 09/02/03
posted May 13, 2005 5:08 PM


I am trying to get KeepAlive working in our program using the WebASP tool. The problem arises when I change the url for the next request. When I do so, I get a "12019:server closed connection prematurely". But if I use the same Url each time, everything works perfectly. Now I'm gonna assume that you're going to say that error is actually ok, and it would be, except that we rely on that to know if the file got to our servers or not. So if we do get that error, then when know to do a Head to see if the put was actually successful. Plus, when that error occurs it affects the connection so a new one needs to be made which defeats the purpose of KeepAlive.

I have also modified the PageFetch example to do a put with KeepAlive and it works perfectly until I try to use a different url. It works for the first Put, but then either the next or very close to the next one, the Put throws a 11101 protocol error, and the webasp_error event dumps a 12019.

DartSSL.Request.Url = "https://esureit.intronis.net/testfile1"

and each time I increment the number at the end.

I have also used the WebDAV client in IE to do a bunch of puts to that same folder using KeepAlive and it works perfectly. And it obviously is using a different filename each time...

So what can I do to the code to fix this?

Thanks!
Intronis
sfrank@intronis.com

From: Englewood, NJ USA
Posts: 15
Member Since: 09/02/03
posted May 13, 2005 5:12 PM

Also, I modified the PageFetch to do a GET on testfile0 to testfile10 using KeepAlive and that works with no problems, even when done extremely quickly and looping back to 0 after it reaches 10.

It seems to just be PUTs with a different Url.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 13, 2005 5:20 PM

We will not be able to help with something this complex on the forum. Your best bet would be to isolate this down to a simple test program that we can run here.

Before you write the program though, please contact support@dart.com to make sure you have the right level of support for an issue of this nature.
Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX