Fwd: RTSP request response

Valentin V. Bartenev vbart at nginx.com
Tue Mar 10 22:06:06 UTC 2020


On Tuesday, 10 March 2020 18:43:56 MSK Seena Fallah wrote:
> Hi all.
> When we send RTSP request to NGINX, NGINX will return 400 bad request
> without headers and when we have loadbalancers like HAProxy in front of
> NGINX because of no headers, HAProxy figured out that the response from
> NGINX is invalid and return 502!
> Won't you want to send headers with the response for these types of
> requests?
> 

What nginx version do you use?

If nginx fails to parse a request line, it returns a valid HTTP/1.0 response
(with headers).

But before nginx 1.5.5 (which was released about 7 years ago) it used HTTP/0.9
protocol to respond in this case.

  wbr, Valentin V. Bartenev





More information about the nginx-devel mailing list