Commit 2ac590ecb050c5665859124d67e2bfa9fc9e92e1

Thomas de Grivel 2018-06-17T17:03:44

fix select

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/thot-select.lisp b/thot-select.lisp
index 0660be2..9060327 100644
--- a/thot-select.lisp
+++ b/thot-select.lisp
@@ -14,6 +14,7 @@
                 (reply (make-instance 'reply :stream reply-stream))
                 (reader (request-reader req reply))
                 (result (funcall (the function reader))))
+           (stream-flush reply-stream)
            (unless (eq :keep-alive result)
              (return)))
        (warning (w)