Answer the question
In order to leave comments, you need to log in
Why won't telnet let me finish the request?
Hello everyone, maybe my question will seem silly, but I didn’t manage to google the answer. I started to deal with the telnet utility, I connect to the site, everything is fine, I type the first line of the request (GET / HTTP/1.1), I start typing the second one, and the connection is interrupted or sent at that time and a response arrives with a 400 error (I don’t have time to send the header host). However, when I insert both query strings at once, everything is fine. What could be the problem?
Answer the question
In order to leave comments, you need to log in
How fast are you typing? Maybe you have a connection timeout set on the server side, for which you do not have time to dial?
Perhaps in the server timeout settings, because in theory everything should work as you describe ...
All web servers have 2 twists - connection lifetime, request waiting time from a connected client.
Nginx defaults to 60 seconds "between lines", for example.
Many administrators twist this figure to a minimum in order to protect themselves from an attack like "slow clients" - when a crowd of bots sits and sends a request line by line every 55 seconds (thereby clogging the web server queue towards clients). This is especially true for those who are Apaches sticking out into the world.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question