dim-0.5.4-mv6
Many fixes to network code:
- Do not force a network connection close at end of HTTP/1.1 request,
otherwise there is no point in using TCP keepalive. This should
improve multiple files transfer speed.
- In wget(), implement re-connection and request resent in case of
premature EOF, which is a normal condition under HTTP/1.1.
- Fix http_response() to close connection only in HTTP/1.0 and to
report correctly unexpected connection close.
- Catch SIGPIPE in case of nc(1) coprocess, to avoid aborting the
shell in case of premature EOF, which makes nc to exit.
- Do not force close of network file descriptors at connection close,
as ksh93 never attempts to reopen them.
- Switch to HTTP/1.0 (instead of default HTTP/1.1) if -0 flag is set
at command line.
Successful tests of network transfers in HTTP/1.1 and HTTP/1.0 with
bash, ksh93, zsh, with /dev/tcp and nc(1).
--
Archive: http://www.mail-archive.com/[email protected]/
To unsubscribe: mailto:[email protected]?subject=unsubscribe