Re: Не работает proxy cache lock

M-A-X nginx-forum на forum.nginx.org
Пт Авг 12 08:13:04 UTC 2016


Поставил промежуточный прокси на 127.0.0.1

К нему приходит несколько запросов:
127.0.0.1 - - [12/Aug/2016:00:09:45 +0300] "GET /hls/football2-2026731240.ts
HTTP/1.1" 200 11933 "-" "-" "-" -
127.0.0.1 - - [12/Aug/2016:00:09:46 +0300] "GET /hls/football2-2026731240.ts
HTTP/1.1" 200 3742 "-" "-" "-" -
127.0.0.1 - - [12/Aug/2016:00:09:46 +0300] "GET /hls/football2-2026731240.ts
HTTP/1.1" 200 3744 "-" "-" "-" -
127.0.0.1 - - [12/Aug/2016:00:09:47 +0300] "GET /hls/football2-2026731240.ts
HTTP/1.1" 200 1275768 "-" "-" "-" -

На публичном при этом такие запросы:
46.33.32.25 - - [12/Aug/2016:00:09:45 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 0 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" MISS
46.33.32.25 - - [12/Aug/2016:00:09:46 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 0 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" MISS
46.33.32.25 - - [12/Aug/2016:00:09:46 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 0 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" MISS
46.33.32.25 - - [12/Aug/2016:00:09:47 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 56702 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" MISS
46.33.32.25 - - [12/Aug/2016:00:09:47 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 55275 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" HIT
46.33.32.25 - - [12/Aug/2016:00:09:47 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 55275 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" HIT
46.33.32.25 - - [12/Aug/2016:00:09:47 +0300] "GET
/hls/football2-2026731240.ts HTTP/1.1" 200 55275 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" HIT

И так дергает несколько раз по 55275 байт.

Только в конце вычитывает ответ полностью.


Или так:
Прокси:
127.0.0.1 - - [12/Aug/2016:00:21:01 +0300] "GET /hls/football2-2089778040.ts
HTTP/1.1" 200 3744 "-" "-" "-" -
127.0.0.1 - - [12/Aug/2016:00:21:01 +0300] "GET /hls/football2-2089778040.ts
HTTP/1.1" 200 1113336 "-" "-" "-" -

Публичный:
46.33.32.25 - - [12/Aug/2016:00:21:01 +0300] "GET
/hls/football2-2089778040.ts HTTP/1.1" 200 0 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" MISS
46.33.32.25 - - [12/Aug/2016:00:21:01 +0300] "GET
/hls/football2-2089778040.ts HTTP/1.1" 200 1113336 "http://cdn.com/241.html"
"Mozilla/5.0 (Linux; Android 4.1.2; HTC Desire 700 dual sim Build/JZO54K)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106
YaBrowser/16.7.0.2531.00 Mobile Safari/537.36" "-" MISS

Posted at Nginx Forum: https://forum.nginx.org/read.php?21,268817,268924#msg-268924



Подробная информация о списке рассылки nginx-ru