From 2f75418c7099e7eabd192803866ee2ac521345be Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Fri, 10 Jun 2022 10:37:12 -0300 Subject: [PATCH] Remove outdated comments --- examples/multi-threaded/main.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/multi-threaded/main.c b/examples/multi-threaded/main.c index aa03388a..603d6562 100644 --- a/examples/multi-threaded/main.c +++ b/examples/multi-threaded/main.c @@ -6,16 +6,6 @@ // some time to simulate long processing time, produces an output and // hands over that output to the request handler function. // -// The following procedure is used to benchmark the multi-threaded codepath -// against the single-threaded codepath on MacOS: -// $ make clean all CFLAGS="-DSLEEP_TIME=0 -DMG_ENABLE_SOCKETPAIR=1" -// $ siege -c50 -t5s http://localhost:8000/multi -// $ siege -c50 -t5s http://localhost:8000/fast -// -// If, during the test, there are socket errors, increase ephemeral port limit: -// $ sysctl -a | grep portrange -// $ sudo sysctl -w net.inet.ip.portrange.first=32768 -// $ sudo sysctl -w net.inet.ip.portrange.hifirst=32768 #include "mongoose.h"