shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-01 Thread Jacek Trzmiel
Hi, $ cygcheck -cd cygwin Cygwin Package Information Package Version cygwin 1.5.9-1 I found some unexpected behaviour of shutdown call. Here is example program to reproduce problem. It is supposed to send simple http request to example.org, clo

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Corinna Vinschen
On May 2 00:07, Jacek Trzmiel wrote: > > Hi, > > $ cygcheck -cd cygwin > Cygwin Package Information > Package Version > cygwin 1.5.9-1 > > I found some unexpected behaviour of shutdown call. Here is example > program to reproduce problem. It i

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Larry Hall
At 10:19 PM 5/3/2004, you wrote: >> I've tried your application and I'm not able to reproduce your problem. >> The shutdown call does not influence sending the buffered data apparently. > >Thanks for info. > >> I've tested with Cygwin 1.5.9 and with a recent snapshot on XP SP1. >> What's your syst

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Jacek Trzmiel
> I've tried your application and I'm not able to reproduce your problem. > The shutdown call does not influence sending the buffered data apparently. Thanks for info. > I've tested with Cygwin 1.5.9 and with a recent snapshot on XP SP1. > What's your system? Cygwin 1.5.9, Win2kSP2. I made add

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-03 Thread Arash Partow
Hi, Just out of curiosity, if one were to do: shutdown(sck,SHUT_WR) which means as far as I understand it "stop all send reqs made to sck", how would one reopen the sck so that you could make send reqs again? Is that even possible or do you have to reestablish the connection again from scratch?

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Arash Partow > Sent: 04 May 2004 07:37 > Hi, > > Just out of curiosity, if one were to do: > > shutdown(sck,SHUT_WR) > > > which means as far as I understand it "stop all send reqs > made to sck", > how would one reopen the sck so

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Dave Korn
> -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 > >

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Keith Moore
Dave Korn wrote: Just kind of wondering if the apache is prematurely dropping the line when it sees the FIN. Possible, but I suspect it's a problem on Jacek's machine. Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a later SP? (SP4 is the latest, and there have been numerous h

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Hannu E K Nevalainen
> From: Jacek Trzmiel > Sent: Tuesday, May 04, 2004 4:19 AM > 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: > > http://cygwin.com/ml/cygwin/2004-05/msg00013.html > > $ g++ Shutd

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hi Dave, > Just kind of wondering if the apache is prematurely dropping the line when > it sees the FIN. No it doesn't. Here is dump when connecting to example.org: > 01:14:34.237976 win2k.3042 > example.org.80: S 3273603871:3273603871(0) win 16384 > (DF) > 01:14:34.423719 example.org.80 > w

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hi, > > Just kind of wondering if the apache is prematurely dropping the line when > > it sees the FIN. > > Possible, but I suspect it's a problem on Jacek's machine. Yep, that's most likely. > Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a > later SP? (SP4 is the latest,

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hannu E K Nevalainen wrote: > $ g++ ShutdownTest.cpp -o ShutdownTest && ./ShutdownTest.exe > HTTP/1.1 200 OK > Date: Tue, 04 May 2004 14:02:39 GMT > Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) > Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT [...] > > $ uname -a > CYGWIN_NT-5.0 P450 1.5.10s(0.114

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour - RESOLVED

2004-05-04 Thread Jacek Trzmiel
> Possible, but I suspect it's a problem on Jacek's machine. > > Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a > later SP? (SP4 is the latest, and there have been numerous hotfixes > since it was released.) I've installed SP4 (had most of hotfixes already) but it didn't fix