You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/05/31 02:28:38 UTC
[GitHub] [trafficserver] maskit commented on pull request #7885: Close connection after every bad request for HTTP/1.1
maskit commented on pull request #7885:
URL: https://github.com/apache/trafficserver/pull/7885#issuecomment-851124158
I can make another request after a bad request. Am I checking something different?
```
$ telnet localhost 8888
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /x HTTP/1.1
Host: localhost
A^VA: bbb
HTTP/1.1 400 Bad Request
Date: Mon, 31 May 2021 02:25:21 GMT
Content-Type: text/html
Content-Length: 165
Age: 0
Connection: keep-alive
Via: http/1.1 traffic_server (ApacheTrafficServer/10.0.0 [c s f ])
Server: ATS/10.0.0
<html>
<head>
<title>Bad Request</title>
</head>
<body>
<h1><p>Bad Request</p></h1>
Invalid HTTP header name: 'A\x16A'
</body>
</html>
GET /x HTTP/1.1
Host: localhost
HTTP/1.1 404 NOT FOUND
Date: Mon, 31 May 2021 02:25:31 GMT
Content-Type: text/html
Content-Length: 233
Server: ATS/10.0.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Age: 0
Connection: keep-alive
Via: http/1.1 traffic_server (ApacheTrafficServer/10.0.0 [c s f ])
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org