Some web forums (vBulletin-based, it seems) assume
"Connection: keep-alive" even for Lynx's HTTP/1.0 requests,
which causes (some of the) page rendering to be deferred
until the connection is eventually closed by the server.

Sending an explicit "Connection: close" avoids the problem:

  HTBprintf(&command, "Connection: close%c%c", CR, LF);

... somewhere in HTLoadHTTP().

(Alternatively, one could make use of the "Content-Length:"
header, which is how wget avoids the termination delay.)

_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to