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: DartStrings Crashes With this URL
MeatLoaf

From: riverside, CA USA
Posts: 9
Member Since: 09/05/02
posted January 12, 2003 3:25 AM

For some reason DartStrings crashes with a out of memory if it encounters the url below. If NO head request then no problem.

URL:

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 12, 2003 11:33 AM

I'm not sure why you get the out of memory ( I don't see it with the sample on my machine )error, but I can tell you that page has some major problems. In respose to the HEAD command the entire page is sent. Also there are many many CRLF's preceding the body.

MeatLoaf

From: riverside, CA USA
Posts: 9
Member Since: 09/05/02
posted January 12, 2003 12:55 PM

Yeah its a messed up server response for sure. To guard against such server responses might be to limit the amount of bytes to receive. Be safe to do that since standard server head request return is never going to over 30K!! Put a 2K response limit or something.



MeatLoaf

From: riverside, CA USA
Posts: 9
Member Since: 09/05/02
posted January 12, 2003 2:57 PM

Now this is getting really really weird...

Http1.Url = "http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/"

  Http1.Head m_oResponseHeader
  sHEADERS = m_oResponseHeader.All
  MsgBox = sHEADERS

Perfect, fetches just the headers, no problem. But, if you do a Head Request followed by a GET then it breaks down for some reason.

Big question is since A Get Request alone behaves as it shoud, but when followed with a Get request the content from both requests are getting corrupted together.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 12, 2003 5:08 PM

This has been reported as issue number 1509. My apologies, but I don't have an estimate for the fix time.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 13, 2003 4:25 PM

A developer got into this today and discovered that WININET.DLL is the cause. We make a call into it and the result is the middle of the page. Your options at this point are to contact the webmaster and get them to fix the page, or switch to the WebASP control (part of our WebEnterprise kit) which does not use WININET and does not exhibit the problem.

Sorry I could not offer a better solution.
MeatLoaf

From: riverside, CA USA
Posts: 9
Member Since: 09/05/02
posted February 25, 2003 4:17 AM

A developer got into this today and discovered that WININET.DLL is the cause. We make a call into it and the result is the middle of the page. Your options at this point are to contact the webmaster and get them to fix the page, or switch to the WebASP control (part of our WebEnterprise kit) which does not use WININET and does not exhibit the problem.
<snip>

I have encountered many other URL's that causes HEAD problems. Doing a direct WinInet HEAD call l does not enounter any problems as DartWeb does. The problem is not with wininet.


K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted February 27, 2003 10:46 AM

Hi,
Sorry, I'm new to this issue. When I use our latest dlls with our PageFetch sample, the Url posted above is retrieved, and I do not see a problem.
Is there another Url that I can use to see the problem, or has it been addressed with our latest release?
Thanks,
-ken
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX