Hi Edi,
I have this problem too. Richard's patch works for me on SBCL. But I repatch his patch to fix the default value of ACCEPTOR-SHUTDOWN-P to T, because every acceptor should be closed when it is created. See attachment please.
Thanks, Des.
On Wed, Aug 12, 2009 at 11:25 PM, Edi Weitz edi@agharta.de wrote:
Hi Richard,
Thanks for the patch. I'm currently on vacation, so I won't be able to look into this until the end of the month, but can you confirm that with this change you can stop and start the same acceptor several times without problems? Which Lisp implementation did you test this on? (I'm asking because Hans and I briefly looked at this a couple of weeks ago and we thought it wasn't totally trivial.)
Thanks, Edi.
On Wed, Aug 12, 2009 at 2:09 PM, Richard KLINDArklinda@gmail.com wrote:
Hello, I may have found a bug.
After stopping an acceptor with STOP, one can't start it again with START, because the START method doesn't reset the value of acceptor-shutdown-p to NIL, so the listener returns/quits instantly. See the attached trivial patch, that fixes the issue for me, but maybe I'm just missing something here.
-- Richard
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel