From: <don...@is...> - 2005-11-10 20:12:03
|
Sam Steingold writes: > > * Don Cohen <qba...@vf...3-vap.pbz> [2005-11-10 10:14:18 -0800]: > > > > Sam Steingold writes: > > > > * Don Cohen <qba...@vf...3-vap.pbz> [2005-11-09 16:32:03 -0800]: > > > > (WGET-TEXT "google.com" "/" "/tmp/google.test") > > > wfm. > > Interesting. Which OS and version? > > it works on and off on cygwin. I tried fairly recent CVS clisp on FC4 and old (c. 2.31) clisp on RH8, both hang on input. I predict things will become more reliable if you just remove that shutdown. > > I assume wfm means that you get a non-empty google.test of course. > yes > > I cannot find shutdown mentioned in the HTTP spec, although I STR that > HTTP was the reason why socket-stream-shutdown was originally added to > clisp. > is there a protocol that specifically requires it? Not that I know of. BTW, I found the reference I was looking for: rfc 1122 - Requirements for Internet Hosts, refers to what I sent before in rfc791 - IP: 1.2.2 Robustness Principle At every layer of the protocols, there is a general rule whose application can lead to enormous benefits in robustness and interoperability [IP:1]: "Be liberal in what you accept, and conservative in what you send" |