OK, i have found. The ip so_linger was buggy in libc2.1. I've set 0 to the l_linger field. This was not used until glibc2.2 lib :-| Now it does exactly what it has to that to say reseting the connexion even if the write buffer isn't flushed ! I've put 5 sec and all works fine now :-) François On Mon, 16 Sep 2002 15:34:43 +0200, Francois Chenais <Francois.Chenais@citb.bull.net> wrote: | -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | After further investigation, it seems that my GW doesn't send FIN PSH ACK TCP packet before the RST one. So that the browser react with Connection reset bye peer ! | | What can be the reason ? | | Thanks | | François | | | | On Thu, 12 Sep 2002 13:13:52 +0200, Francois Chenais <francois@chenais.net> wrote: | | | Hello, | | | | One of my previous mail was talking about socket error between a RH 7.2 and a sun solaris 6. In fact, I have rebuilt the binaries on my notebook with Debian sarge but i have the same error ! | | | | So, I wonder if the error occurs because of the difference between the libc6 versions ! | | | | It's seems to be a socket error. | | Action I do on my sockets: | | | | SO_REUSEADDR..on | | SO_KEEPALIVE..on | | TCP_NODELAY...on | | SO_LINGER.....on | | | | | | All data (HTTP/HTML) leaving my software | | are ok (ethereal / telnet). But when I use a `standard' Web Browser (mozilla, netscape, IE) this fails in a random way. | | For example, on my mozilla | | | | (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 | | Debian/1.0.0-0.woody.1) | | I have a white page but I can see all the Page source (Ctrl-U) :-| | | It works fine with Opera !!!!! | | | | | | Any experience about this. I'll certainly become crazy next :-) | | | | Thanks a lot | | | | François | | | | | | -----BEGIN PGP SIGNATURE----- | Version: GnuPG v1.0.7 (GNU/Linux) | | iD8DBQE9hd3zcMXw4CWlEFsRAk/FAJ9OvniPyKHVXZeTwfjZ9kj8c+UOEACbB3Gr | PeRZtEM5jvI8kux9LkpA+1Y= | =j+ms | -----END PGP SIGNATURE----- | |
Attachment:
pgpjFaUWV8Txu.pgp
Description: PGP signature