www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/06/18:23:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 7 Apr 2002 01:22:16 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <55741292872.20020407012216@familiehaase.de>
To: "ioda" <ioda AT online DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Re: Port problem
In-Reply-To: <a8ngj4$hpf$1@main.gmane.org>
References: <a8ngj4$hpf$1 AT main DOT gmane DOT org>
MIME-Version: 1.0

Hallo ioda,

Am 2002-04-06 um 20:59 schriebst du:

[..]

> do not use advanced features (I DO NOT WANT TO CODE AN HTTP SERVER !!)

You have coded a HTTP server;)

[...]

> You may get a page saying hello WORLD !

<html>
<head>
<title>Hello world!</title>
</head>
<body>

That is all I get if I view the source in Opera connecting from
the same box, if I connect from a remote box with IE it works perfect,
so basically it works ok.  Dubious is that I get the full page from the
remote box but not from the local one.

See:
$ ./server.exe
DEBUG : Address IP = 0.0.0.0, Port = 12345 
DEBUG : Server waiting...
DEBUG : fork child 361 for 192.168.1.1:4796
DEBUG : Server waiting...
HTTP/1.0 200 OK
DATE : Fri, 05 Apr 2002 11:22:12 DFT
Server : DummyWS/0.1
Content-Type : text/HTML
Content-Length : 112
Last-Modified : Thu, 21 Mar 2002 00:11:12 NFT

<html>
<head>
<title>Hello world!</title>
</head>
<body>
<center>
<h1>Hello world!</h1>
</center>
</body>
</html>

DEBUG : file forwarded !
DEBUG : child done
HDEBUG : fork child 457 for 192.168.1.1:4797
DEBUG : Server waiting...
TTP/1.0 200 OK                <-----------------This is strange!!!!!!!!!
DATE : Fri, 05 Apr 2002 11:22:12 DFT
Server : DummyWS/0.1
Content-Type : text/HTML
Content-Length : 112
Last-Modified : Thu, 21 Mar 2002 00:11:12 NFT

<html>
<head>
<title>Hello world!</title>
</head>
<body>
<center>
<h1>Hello world!</h1>
</center>
</body>
</html>

DEBUG : file forwarded !
DEBUG : child done
DEBUG : fork child 625 for 192.168.1.1:4804
DEBUG : Server waiting...
HTTP/1.0 200 OK
DATE : Fri, 05 Apr 2002 11:22:12 DFT
Server : DummyWS/0.1
Content-Type : text/HTML
Content-Length : 112
Last-Modified : Thu, 21 Mar 2002 00:11:12 NFT

<html>
<head>
<title>Hello world!</title>
</head>
<body>
<center>
<h1>Hello world!</h1>
</center>
</body>
</html>

DEBUG : file forwarded !
DEBUG : child done


And with telnet:
$ telnet loreley.antigone.familiehaase.de 12345
Trying 192.168.1.1...
Connected to loreley.antigone.familiehaase.de.
Escape character is '^]'.
HTTP/1.1 200 OK
DATE: 2002-04-07 01:04:00 GMT
Server: DummyWS/0.1 (Cygwin)
Last-Modified: Thu, 21 Mar 2002 00:11:12 NFT
Content-Length: 112
Content-Type: text/html

<html>
<head>
<title>Test page</title>
</head>
<body>
<center>
<h1>Hello WORLD !</h1>
</center>
</body>
</html>
Connection closed by foreign host.



Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019