Try quitting if it's EOF
This commit is contained in:
parent
31468f6bb7
commit
6207892c56
|
@ -48,7 +48,7 @@
|
||||||
(define (auth-listener handler)
|
(define (auth-listener handler)
|
||||||
(let ((in (current-input-port))
|
(let ((in (current-input-port))
|
||||||
(out (current-output-port)))
|
(out (current-output-port)))
|
||||||
(while #t
|
(while (not (eof-object? in))
|
||||||
(let ((size (bytevector-u16-ref (get-bytevector-n in 2) 0 (endianness big)))
|
(let ((size (bytevector-u16-ref (get-bytevector-n in 2) 0 (endianness big)))
|
||||||
(response (make-bytevector 4 0)))
|
(response (make-bytevector 4 0)))
|
||||||
(bytevector-u8-set! response 1 #x02)
|
(bytevector-u8-set! response 1 #x02)
|
||||||
|
|
Loading…
Reference in New Issue