mirror of
https://codeberg.org/bunbun/bunbun.dev
synced 2025-06-07 20:19:51 -07:00
switched to https and added main.md
This commit is contained in:
@ -7,7 +7,9 @@
|
||||
(fn client-handler.handle-client [client]
|
||||
(let [request (client:receive :*l)]
|
||||
|
||||
(print (: "Request from: %s:%s" :format (client:getpeername)))
|
||||
(io.stdout:setvbuf :no)
|
||||
|
||||
(print (: "Request from: %s:%s" :format _G.client-address _G.client-port))
|
||||
(print request)
|
||||
(while true
|
||||
(local request (client:receive :*l))
|
||||
|
Reference in New Issue
Block a user