Re: sockets die after a while (General questions)
the issue is that it does not timeout and or gets disconnected..
all I see when I check the debug file for (dead sockets) is this..
** Connecting to www.site.com on port 80
I dont know if this is the case but for example.. lets say I have 10 sockets running downloading images from random urls..
socket5 goes to page (www.site1.com/image1.jpg) and downloads image and gets server response 200 and response length (1936565) from server.. and finishes downloading image
then again socket5 goes to next url (www.site2.com/image2.jpg) and tries to connect but it doesn't connect correctly or something happens and I see in the disconnect event the same response 200 and length (1936565) from server
so something is wrong with the wrapper not clearing the response body data, length, etc.. before connect, can you confirm this by looking at the source code?
The only way for now to get it to work is by calling this every time before new connection
Set wodHttp1 = New wodHttpDLXCom
Set wodHttp1.Notification = Me
Complete thread:
- sockets die after a while - Klinzter, 2013-09-10, 06:48
- Re: sockets die after a while - wodSupport, 2013-09-10, 09:57
- Re: sockets die after a while - Klinzter, 2013-09-12, 04:54
- Re: sockets die after a while - Klinzter, 2013-09-12, 06:19
- Re: sockets die after a while - wodSupport, 2013-09-12, 07:16
- Re: sockets die after a while - Klinzter, 2013-09-12, 07:22
- Re: sockets die after a while - wodsupport, 2013-09-12, 08:14
- Re: sockets die after a while - Klinzter, 2013-09-12, 08:46
- Re: sockets die after a while - wodSupport, 2013-09-12, 09:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 10:56
- Re: sockets die after a while - woddrazen, 2013-09-12, 14:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 21:03
- Re: sockets die after a while - woddrazen, 2013-09-13, 12:05
- Re: sockets die after a while - Klinzter, 2013-09-13, 22:28
- Re: sockets die after a while - woddrazen, 2013-09-13, 12:05
- Re: sockets die after a while - Klinzter, 2013-09-12, 21:03
- Re: sockets die after a while - woddrazen, 2013-09-12, 14:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 10:56
- Re: sockets die after a while - wodSupport, 2013-09-12, 09:21
- Re: sockets die after a while - Klinzter, 2013-09-12, 08:46
- Re: sockets die after a while - wodsupport, 2013-09-12, 08:14
- Re: sockets die after a while - Klinzter, 2013-09-12, 07:22
- Re: sockets die after a while - wodSupport, 2013-09-12, 07:16
- Re: sockets die after a while - Klinzter, 2013-09-12, 06:19
- Re: sockets die after a while - Klinzter, 2013-09-12, 04:54
- Re: sockets die after a while - wodSupport, 2013-09-10, 09:57