Commit 37605d1f485b4ef872a95eeea6fab5e8e2004fd6

Baptiste 2024-08-09T16:01:33

rebase

diff --git a/test/http/07_event_echo.kc3 b/test/http/07_event_echo.kc3
index 3c8e9c6..d0614da 100644
--- a/test/http/07_event_echo.kc3
+++ b/test/http/07_event_echo.kc3
@@ -13,13 +13,15 @@ acceptor = fn (server_socket, events, acceptor_ev, void) do
     client = Socket.Buf.accept(server_socket)
     client_ev = HTTP.Event.new(event_base, client.sockfd, [:read, :write],
       echo_client, client)
-    puts(client_ev)
+    puts("client_ev: #{client_ev}")
     HTTP.Event.add(client_ev, timeout)
   end
 end
-puts(socket.fd)
+puts("socket.fd: #{socket.fd}")
+puts("event_base: #{event_base}")
 acceptor_ev = HTTP.Event.new(event_base, socket.fd, [:read], acceptor,
                              void)
+puts("acceptor_ev: #{acceptor_ev}")
 puts(HTTP.Event.add(acceptor_ev, timeout))
 r = HTTP.Event.dispatch(event_base)
 if r do