Patch for external streams and CL-POP+SSL
Max Rottenkolber
max at mr.gy
Mon May 13 20:09:28 UTC 2013
Excuse the last mail, I accidentally messed up the subject and didn't
include the attachments. Here we go again:
Greetings,
I have attached a patch (against the 0.2.0 codebase). Its really a tiny
patch so it shouldn't be hard to apply it on the development codebase.
It adds a CLOSE-SOCKET-P keyword to CLOSE-POP-CONNECTION which does what
the name suggests. WITH-POP-CONNECTION now tests for the :STREAM keyword
in ARGS to decide how to call CLOSE-POP-CONNECTION. Lastly,
OPEN-POP-CONNECTION accepts a STREAM keyword argument which can be used
instead of HOST and PORT.
The system CL-POP+SSL (ssl.lisp and cl-pop+ssl.asd) provides a macro
WITH-POP+SSL-CONNECTION that behaves almost like exactly like its non SSL
counterpart but uses SSL.
Cheers,
max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: external-stream.diff
Type: application/octet-stream
Size: 1367 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-pop-devel/attachments/20130513/38cb0583/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ssl.lisp
URL: <https://mailman.common-lisp.net/pipermail/cl-pop-devel/attachments/20130513/38cb0583/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cl-pop+ssl.asd
Type: application/octet-stream
Size: 294 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-pop-devel/attachments/20130513/38cb0583/attachment-0001.obj>
More information about the cl-pop-devel
mailing list