Quantcast
Viewing all articles
Browse latest Browse all 3102

патч для Connection: Keep-Alive (10 replies)

Добрый день!

предлагаю оставить только "Connection: Keep-Alive" в случае HTTP/1.0
во всех остальных случаях предлагаю не отдавать никакой Connection.

Аналогичным образом работает IIS.


еще есть вопрос, в каких условиях должен срабатывать код

if (clcf->keepalive_header) {
len += sizeof("Keep-Alive: timeout=") - 1 + NGX_TIME_T_LEN + 2;
}


в файле src/http/ngx_http_header_filter_module.c, не нашел, где
задается условие clcf->keepalive_header


Илья Шипицин
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Viewing all articles
Browse latest Browse all 3102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>