summaryrefslogtreecommitdiff
path: root/mini-http-server
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-06-28 12:52:43 +0200
committerTom Smeding <tom@tomsmeding.com>2026-06-28 12:52:43 +0200
commit31f2e0ca24318de69f0ab3d04a573901b4fd5acc (patch)
tree585d01200d74760483147a987857246301c96160 /mini-http-server
parent352f64c7171cf62f2e1a7578fb8e786dead90d9f (diff)
Stop the instrument print spam
Diffstat (limited to 'mini-http-server')
-rw-r--r--mini-http-server/Network/HTTP/Server/Mini.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mini-http-server/Network/HTTP/Server/Mini.hs b/mini-http-server/Network/HTTP/Server/Mini.hs
index fb982d7..5d46318 100644
--- a/mini-http-server/Network/HTTP/Server/Mini.hs
+++ b/mini-http-server/Network/HTTP/Server/Mini.hs
@@ -73,5 +73,5 @@ handleConnection settings conn handler =
readRequest (setMaxRequestSize settings) (recv conn) >>= \case
Nothing -> return ()
Just req -> do
- resp <- instrument "handler" $ handler req
- instrument "sendResponse" $ sendResponse conn resp
+ resp <- {- instrument "handler" $ -} handler req
+ id $ {- instrument "sendResponse" $ -} sendResponse conn resp