This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: shutdown( socket, SHUT_WR ) - unexpected behaviour
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Cygwin List'" <cygwin at cygwin dot com>
- Date: Tue, 4 May 2004 10:25:26 +0100
- Subject: RE: shutdown( socket, SHUT_WR ) - unexpected behaviour
> -----Original Message-----
> From: cygwin-owner On Behalf Of Larry Hall
> Sent: 04 May 2004 03:51
> At 10:19 PM 5/3/2004, you wrote:
>
> >Can somebody with Win2k box compile and run prog from my
> previous mail?
> >I would like to know if it behaves incorrectly only on my
> system, or on
> >Win2k in general:
>
>
> I don't know if this answers the question or not but it works fine for
> me on W2K SP3 (Cygwin 1.5.9 yada, yada)...
>
WFM too on WXPproSP1, cyg-1.5.7. I wonder if your server is somehow
responsible. What happens if you add a connection header, like this:
const char *MESSAGE = "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n";
Just kind of wondering if the apache is prematurely dropping the line when
it sees the FIN.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/