Article View: borland.public.cppbuilder.internet.socket
Article #1185Re: WSAGetLastError return always 6
From: Eduardo Jauch
Date: Tue, 27 Feb 2007 01:46
Date: Tue, 27 Feb 2007 01:46
25 lines
1963 bytes
1963 bytes
Remy Lebeau (TeamB) escreveu: > Very unlikely. The whole point of using keep-alives is to allow > clients to make more, and faster, requests to the same server because > there is no overhead of tearing down a connection and reconnecting for > each new request. > >> or it is changing the session cookies at that time... > > That is a possibility. > I modify the code to show the LAST response before recv returns zero. Is a response ok (HTTP 200), with a Connection: close About the cookies, I was wrong. The session cookie change every time I start a connection (in meddle, I was looking at beggining and end on a more than 128 caracters...). But change nomore after that, even on the last 3 pages including that that have the connection close. And that connection is closed always on the same count... Seens that the server was really programed to close the connection at predefined number of requests of the same connection. Intriguing...
Technical Details
Message-ID:
<45e38d34@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45e24baa@newsgroups.borland.com> <45e31e54$1@newsgroups.borland.com> <45e34585$1@newsgroups.borland.com> <45e358b3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ead06e5a7c488245 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 26 Feb 2007 22:46:21 -0300 From: Eduardo Jauch <eduardo.jauch@gmail.com> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: WSAGetLastError return always 6 References: <45e24baa@newsgroups.borland.com> <45e31e54$1@newsgroups.borland.com> <45e34585$1@newsgroups.borland.com> <45e358b3$1@newsgroups.borland.com> In-Reply-To: <45e358b3$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 201.3.108.16 Message-ID: <45e38d34@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172540724 201.3.108.16 (26 Feb 2007 17:45:24 -0800) Lines: 26 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail