Newest at the top
| 2025-12-17 19:53:54 +0100 | _________ | (~nobody@user/noodly) _________ |
| 2025-12-17 19:50:07 +0100 | jj | (~apropos@dhcp-128-189-46-128.ubcsecure.wireless.ubc.ca) (Ping timeout: 240 seconds) |
| 2025-12-17 19:50:00 +0100 | <milan2> | That makes sense.. this will reuse counter and may show different number. |
| 2025-12-17 19:47:51 +0100 | <int-e> | *app |
| 2025-12-17 19:47:47 +0100 | <int-e> | (and change the next line to `ap counter _ respond = do` accordingly) |
| 2025-12-17 19:47:05 +0100 | sp1ff | (~user@c-73-164-203-114.hsd1.wa.comcast.net) sp1ff |
| 2025-12-17 19:46:54 +0100 | <int-e> | You can have `app :: Counter -> Application`. |
| 2025-12-17 19:46:20 +0100 | <int-e> | milan2: yeah I'm pretty sure you're supposed to do that in `main` and pass the counter to your request handler(s) (which includes `app`). |
| 2025-12-17 19:44:55 +0100 | Square | (~Square4@user/square) (Ping timeout: 240 seconds) |
| 2025-12-17 19:44:47 +0100 | <milan2> | int-e: Yeah..that might be true.. |
| 2025-12-17 19:43:57 +0100 | <milan2> | int-e: Here https://hackage-content.haskell.org/package/warp-3.4.11/docs/Network-Wai-Handler-Warp.html#g:5 |
| 2025-12-17 19:42:53 +0100 | <int-e> | what is `makeSettingsAndCounter`? The `app` part is executed for each request, so perhaps you're making a new counter every time too. |
| 2025-12-17 19:41:31 +0100 | Square2 | (~Square@user/square) Square |
| 2025-12-17 19:40:56 +0100 | spew | (~spew@user/spew) spew |
| 2025-12-17 19:37:27 +0100 | <milan2> | Hmm... maybe there is no "context switch" |
| 2025-12-17 19:28:27 +0100 | CiaoSen | (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) CiaoSen |
| 2025-12-17 19:26:51 +0100 | tromp | (~textual@2001:1c00:3487:1b00:681b:ee7b:c126:c8ee) |
| 2025-12-17 19:22:45 +0100 | <milan2> | It should use http1.1 which should open new connection on every curl request.. |
| 2025-12-17 19:21:58 +0100 | sp1ff | (~user@2607:fb90:3397:1dee:eb26:2295:32e9:767a) (Ping timeout: 255 seconds) |
| 2025-12-17 19:20:55 +0100 | Googulator99 | (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 19:20:55 +0100 | Googulator67 | (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 19:19:08 +0100 | <milan2> | Hello guyz :) copied "Getting started" example of https://hackage.haskell.org/package/wai-3.2.4 and used this line as first line in app function makeSettingsAndCounter >>= (pure . fst) >>=getCount >>= print Then I run seq 1 2000 | xargs -Iname -n1 -P2000 curl --http1.1 -s "http://localhost:8080/" but my web server still prints 0 connections. Do you have any idea why? |
| 2025-12-17 19:16:05 +0100 | deptype | (~deptype@2406:b400:3a:2dd5:59b2:1154:4ab5:509e) (Remote host closed the connection) |
| 2025-12-17 19:15:44 +0100 | tromp | (~textual@2001:1c00:3487:1b00:681b:ee7b:c126:c8ee) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-12-17 19:10:58 +0100 | tzh | (~tzh@c-76-115-131-146.hsd1.or.comcast.net) tzh |
| 2025-12-17 19:10:17 +0100 | jmcantrell_ | (~weechat@user/jmcantrell) jmcantrell |
| 2025-12-17 19:06:33 +0100 | killy | (~killy@terminal-3-187.retsat1.com.pl) |
| 2025-12-17 19:04:42 +0100 | killy | (~killy@193.142.201.134) (Ping timeout: 244 seconds) |
| 2025-12-17 18:59:07 +0100 | _________ | (~nobody@user/noodly) (Ping timeout: 264 seconds) |
| 2025-12-17 18:57:07 +0100 | infinity0 | (~infinity0@pwned.gg) infinity0 |
| 2025-12-17 18:56:31 +0100 | infinity0 | (~infinity0@pwned.gg) (Quit: WeeChat 4.7.2) |
| 2025-12-17 18:56:25 +0100 | lambda_gibbon | (~lambda_gi@208.83.175.39) (Ping timeout: 264 seconds) |
| 2025-12-17 18:51:52 +0100 | lambda_gibbon | (~lambda_gi@208.83.175.39) |
| 2025-12-17 18:51:48 +0100 | killy | (~killy@193.142.201.134) |
| 2025-12-17 18:47:43 +0100 | poscat | (~poscat@user/poscat) (Ping timeout: 240 seconds) |
| 2025-12-17 18:46:35 +0100 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 240 seconds) |
| 2025-12-17 18:46:22 +0100 | poscat0x04 | (~poscat@user/poscat) poscat |
| 2025-12-17 18:44:18 +0100 | chele | (~chele@user/chele) (Remote host closed the connection) |
| 2025-12-17 18:39:32 +0100 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) humasect |
| 2025-12-17 18:37:23 +0100 | TMA | (tma@twin.jikos.cz) (Ping timeout: 250 seconds) |
| 2025-12-17 18:32:54 +0100 | sord937 | (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 2025-12-17 18:26:42 +0100 | trickard_ | (~trickard@cpe-81-98-47-163.wireline.com.au) |
| 2025-12-17 18:26:15 +0100 | trickard_ | (~trickard@cpe-81-98-47-163.wireline.com.au) (Ping timeout: 240 seconds) |
| 2025-12-17 18:20:53 +0100 | Googulator99 | (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 18:20:47 +0100 | Googulator95 | (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 18:06:07 +0100 | weary-traveler | (~user@user/user363627) (Remote host closed the connection) |
| 2025-12-17 18:05:13 +0100 | lambda_gibbon | (~lambda_gi@208.83.175.39) (Ping timeout: 246 seconds) |
| 2025-12-17 18:03:01 +0100 | merijn | (~merijn@77.242.116.146) (Ping timeout: 264 seconds) |
| 2025-12-17 17:58:18 +0100 | cheater | (~AdminUser@2a02:8388:a180:3500:2936:d5c0:ce56:944) |
| 2025-12-17 17:58:12 +0100 | merijn | (~merijn@77.242.116.146) merijn |