Revert to old bufpol name.
This commit is contained in:
parent
4063467f96
commit
af7288f535
|
@ -76,15 +76,14 @@
|
||||||
;; closes the connection, we won't lose when we try to close the
|
;; closes the connection, we won't lose when we try to close the
|
||||||
;; socket by trying to flush the output buffer.
|
;; socket by trying to flush the output buffer.
|
||||||
(lambda (sock addr) ; Called once for every connection.
|
(lambda (sock addr) ; Called once for every connection.
|
||||||
(set-port-buffering (socket:outport sock) 'bufpol/none) ; No buffering
|
(set-port-buffering (socket:outport sock) bufpol/none) ; No buffering
|
||||||
|
|
||||||
(spawn (lambda () ; Kill this line to bag forking.
|
(spawn (lambda () ; Kill this line to bag forking.
|
||||||
; Should propagate. ecch.
|
; Should propagate. ecch.
|
||||||
(with-current-input-port
|
(with-current-input-port
|
||||||
(socket:inport sock) ; bind the
|
(socket:inport sock) ; bind the
|
||||||
(with-current-output-port
|
(with-current-output-port
|
||||||
(socket:outport sock) ; stdio ports, &
|
(socket:outport sock) ; stdio ports, &
|
||||||
(set-port-buffering (current-input-port) 'bufpol/none)
|
(set-port-buffering (current-input-port) bufpol/none)
|
||||||
(process-toplevel-request path-handler sock)
|
(process-toplevel-request path-handler sock)
|
||||||
(close-socket sock))) ; do it.
|
(close-socket sock))) ; do it.
|
||||||
)))
|
)))
|
||||||
|
|
Loading…
Reference in New Issue