pingostack / pingos

Based on the NGINX/RTMP/HTTP-FLV/HTTP-TS/HLS/HLS+/DASH/H.264/H.265/AAC/MP3/Live/Record/VOD/Push/Pull/Multiple Processes/Dynamic Configuration/Configuration Variables/Console Interface/Notify
https://pingos.io
BSD 3-Clause "New" or "Revised" License
987 stars 273 forks source link

/hls2中 添加 if($request_method == “OPTIONS”)bug #101

Open wuzhufeng19971006 opened 2 years ago

wuzhufeng19971006 commented 2 years ago

只要有判断请求方式,并且不管是在if里面还是外面 return 200都会导致使用该请求方式访问时, could not get any response,但是 return 204又是正常的

lystormenvoy commented 1 year ago

OPTIONS本来就是要返回204