Results 167 comments of Alex Shinn

Is this with 0.9.1 or HEAD? Can you try tracing: `chibi-scheme -tchibi.io.read-string -tchibi.net.http.http-get callme.ss`

Hmmm... tough to debug when I can't reproduce. You can continue tracing methods within the http implementation: `-tchibi.net.http.{http-call-method,http-send-body,http-parse-response} -tchibi.mime.mime-headers->list`

Oh, you'll need to quote the `>`: `-t'chibi.mim.mime-headers->list'` And just for a sanity check, you don't have a firewall blocking example.com do you? :)

You need to either install chibi or specify the LD_LIBRARY_PATH to run. Try `-tchibi.io.%read-line -tchibi.io.%%read-line`, it looks like it's hanging there.

So the question now becomes whether there was a problem with the request such that the response never comes, or is the read-line stuck for some reason? Can you try...

Thanks, we're getting somewhere! I can see your requests in my logs and they return normally. strace on my own machine shows only calls to `poll`, not `select`, and somehow...

Unfortunately I still can't reproduce on x86_64 Debian with kernel 5.7.17, this appears to be NixOS-specific.

One more thing, can you check: `echo test | chibi-scheme -b -mchibi.io -p'(read-line)'`

Better test: `(sleep 3; echo test) | chibi-scheme -b -mchibi.io -p'(read-line)'`

OK, then it seems specific to network ports.