commit ed0c7395c260df5744644e4b3fb3de079dde935f Author: Stelian Ionescu sionescu@cddr.org Date: Tue Mar 30 03:03:58 2010 +0200
Call DEFAULT-{READ,WRITE}-FN through their function objects.
src/streams/gray/classes.lisp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
commit afdd62b9d685e32e068ea5b49cb09f42a2b2c982 Author: Stelian Ionescu sionescu@cddr.org Date: Tue Mar 30 03:02:17 2010 +0200
Add %READ-ONCE/NO-HANG.
src/streams/gray/io-helpers.lisp | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-)
An updated tarball of IOLib's source can be downloaded here: http://common-lisp.net/project/iolib/files/snapshots/iolib-20100329.tar.gz
Gitweb URL: http://repo.or.cz/w/iolib.git
Hello,
During the recent set of patches, a couple of errors have arisen in IOLib:
1. When connecting to an address upon which no server is listening, connect signals a POLL-ERROR instead of SOCKET-CONNECTION-REFUSED-ERROR. This is unexpected.
Here is the backtrace:
0: (IOLIB.MULTIPLEX::PROCESS-POLL-REVENTS 24 5) 1: (WAIT-UNTIL-FD-READY 5 :OUTPUT NIL T) 2: (IOLIB.SOCKETS::CALL-WITH-SOCKET-TO-WAIT-CONNECT #<active IPv4 stream socket, unconnected {BF52E61}> #<CLOSURE (LAMBDA #) {BF53FAD}> T) 3: ((SB-PCL::FAST-METHOD CONNECT (INTERNET-SOCKET INET-ADDRESS)) #<unavailable argument> #<unavailable argument> #<active IPv4 stream socket, unconnected {BF52E61}> #/IP/127.0.0.1)[:EXTERNAL] 4: [goes into my example codes...]
2. When the server goes away and closes the connection to the client, the client never sees the END-OF-FILE using the stream interface.
Thank you.
-pete