From max at mr.gy Mon May 13 20:06:57 2013 From: max at mr.gy (Max Rottenkolber) Date: Mon, 13 May 2013 22:06:57 +0200 Subject: Patch for external streams and CL-POP+SSLAttachment: /usr/lib/quicklisp/local-projects/cl-pop/external-stream.diffAttachment: /usr/lib/quicklisp/local-projects/cl-pop/ssl.lispAttachment: /usr/lib/quicklisp/local-projects/cl-pop/cl-pop+ssl.asd Message-ID: <1N5XH7L.NVUL8C3D4P75@mr.gy> 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 From max at mr.gy Mon May 13 20:09:28 2013 From: max at mr.gy (Max Rottenkolber) Date: Mon, 13 May 2013 22:09:28 +0200 Subject: Patch for external streams and CL-POP+SSL Message-ID: <1N5XHBS.NVUL8C3D4P75@mr.gy> 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: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ssl.lisp URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cl-pop+ssl.asd Type: application/octet-stream Size: 294 bytes Desc: not available URL: