X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base.lisp;h=59c6f05fafc47b2a09ecb0c6cd2ffccf3765b8ea;hb=ea50229269c428ed82edcda11fa056786469cac7;hp=b50a088867a8f6865923fdf69839e98fab86364a;hpb=fa641fe08adb5cede535a6dd79a79047c78ecf8a;p=cl-modlisp.git diff --git a/base.lisp b/base.lisp index b50a088..59c6f05 100644 --- a/base.lisp +++ b/base.lisp @@ -7,22 +7,26 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Dec 2002 ;;;; -;;;; $Id: base.lisp,v 1.10 2003/07/10 18:58:29 kevin Exp $ +;;;; $Id: base.lisp,v 1.11 2003/07/11 02:38:00 kevin Exp $ ;;;; ************************************************************************* (in-package #:modlisp) (defun modlisp-start (&key (port +default-modlisp-port+) - (processor 'demo-modlisp-command-processor) - (processor-args nil) - (catch-errors t)) + (processor 'demo-modlisp-command-processor) + (processor-args nil) + (catch-errors t) + timeout + number-fixed-workers) (let ((listener (make-instance 'listener :port port :base-name "modlisp" :function 'modlisp-command-issuer :function-args (cons processor processor-args) :format :text :wait nil - :catch-errors catch-errors))) + :catch-errors catch-errors + :timeout timeout + :number-fixed-workers number-fixed-workers))) (init/listener listener :start))) @@ -43,7 +47,7 @@ (do ((command (read-modlisp-command) (read-modlisp-command))) ((null command)) (apply processor command args) - (force-output *modlisp-socket*) + (finish-output *modlisp-socket*) (incf *number-worker-requests*) (incf *number-server-requests*) (when *close-modlisp-socket*