Metaserver Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

disp_web.c fault found



The problem with some web clients failing to display the web based
metaserver listing is due to the metaserver closing the connection
before the client finishes sending data.  When the client is a long way
from the metaserver, it works better.

If the metaserver was adjusted to have the connection linger until the
client closes it, then this problem would go away.

I had a quick look at disp_web.c, but since it only writes to a buffer
that scan.c then sends to the client, the change will have to be done to
scan.c instead.

Carlos, are you sufficiently familiar with scan.c at the moment to try
this?

When the data has been sent, the server (scan.c) should hold the
connection open until the client closes.  In single threaded servers
this is handled by read() until EOF or error.

-- 
James Cameron                                      (quozl@us.netrek.org)

Linux, Firewalls, OpenVMS, Software Engineering, CGI, HTTP, X, C, FORTH,
COBOL, BASIC, DCL, csh, bash, ksh, sh, Electronics, Microcontrollers,
Disability Engineering, Netrek, Bicycles, Pedant, Farming, Home Control,
Remote Area Power, Greek Scholar, Tenor Vocalist, Church Sound, Husband.

"Specialisation is for insects." -- Robert Heinlein.