edicl/hunchentoot — Issue #5: Regression in process-connection
Author: i-perminov
Created: 2011-10-31 19:37:37+00:00
State: open

Hi,

PROCESS-CONNECTION in v1.2.0 uses FORCE-OUTPUT instead of FINISH-OUTPUT again.
Sequence
(FORCE-OUTPUT *hunchentoot-stream*)
(CLOSE *hunchentoot-stream* :abort t)
has a race condition, because FORCE-OUTPUT does not wait till all the buffered data is sent and CLOSE discards the buffered data.
See the mailing list archive for more details: http://lists.common-lisp.net/pipermail/tbnl-devel/2011-February/005411.html

Ilya