1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-02-17 08:10:36 +01:00

- flush the socket buffer to ensure the successful autorization message is delivered to the browser.

This commit is contained in:
cage 2023-02-11 21:22:36 +01:00
parent 9e7966f697
commit 65ed6b9425

View File

@ -164,7 +164,8 @@ authorization code."
(let* ((endline (format nil "~C~C" #\return #\linefeed))
(headers (join-with-strings *http-auth-reply-headers* endline)))
(format stream "~a~a~a" headers endline endline)
(format stream (http-auth-reply-body-template) +program-name+))))))
(format stream (http-auth-reply-body-template) +program-name+)
(finish-output stream))))))
(usocket:socket-close client-socket)))
(usocket:socket-close socket)))