Messages in this thread | | | Date | Mon, 7 Dec 1998 03:41:32 -0800 | From | Stuart Lynne <> | Subject | strange tcp problem with 2.1.127 |
| |
I just noticed a strange problem running a script from inetd under 2.1.127.
I have a status script which can be checked from a web browser. It is started from inetd with:
8888 stream tcp nowait root /usr/local/sbin/status status
A simplified version of it:
#!/bin/sh # echo "HTTP/1.1 200 OK" echo "Date: " `date` echo "Server: status " echo "Connection: close" echo "Content-type: text/plain" echo uptime echo
This works fine with various 2.0 kernels and other operating systems such as SCO and Solaris.
On a test system with a 2.0.35 and a 2.0.131 kernel. It works perfectly under 2.0.35 and fails under 2.0.131..
What I'm seeing is some sort of data corruption. Netscape for example displays a dialog box saying:
A network error occurred while Netscape was receiving data. (Network error: Connection reset by peer.)
Using something like snarf or urlget what I see is a file that has the correct data (sometimes) but then has a couple of k worth of NULL's appended.
-- Stuart Lynne <sl@fireplug.net> 604-461-7532 <http://www.fireplug.net> PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 88 EC A3 EE 2D 1C 15 68
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |