Results 9 comments of Ben Rady

netcat on OSX doesn't recognize this parameter, so it seems adding this would make shinatra less portable. Is there an environment where you've found `-p` to be necessary?

I was able to reproduce this problem as well.

That makes sense, but removing the `Connection: keep-alive` does not seem to fix the issue (at least, in the browsers I've tried). On Thu, Aug 20, 2020 at 8:12 AM...

I’m glad you’re getting some use out of it, but I have no idea how secure Shinatra is. It was certainly not designed with security in mind. Ben > On...

I think you're right, but what is the purpose of adding the -N option? That's not available in BSD netcat.

I'm looking at version 1.105-7 on Ubuntu 16.04.3 from the netcat-openbsd package. Also didn't see it on my Mac's netcat version but I don't remember where that came from.

Thanks for the PR. I really have no specific memory of why that header is there, so I want to make sure I understand what's going on before changing anything....

Have you tried that yet? When I tried making that change it didn't seem to make a difference with Chrome or Firefox. On Thu, Aug 20, 2020 at 8:17 AM...

shinatra works as-is for me on Ubuntu 22.04