<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cohalz</author_name>
  <author_url>https://blog.hatena.ne.jp/cohalz/</author_url>
  <blog_title>Re:cohalz</blog_title>
  <blog_url>https://cohalz.co/</blog_url>
  <categories>
  </categories>
  <description>Envoyではデフォルトで Keep-Alive が有効になっているが、これを無効化したい場面があったので調べた。 方法 max_requests_per_connectionの値を1にすれば良い。 公式ドキュメントにはSetting this parameter to 1 will effectively disable keep alive.*1と書いてあるように、 keepalive に関するパラメータがあってそこをいじるのかと思いきやそういう設定はなくイディオムのようになっている。 余談 Envoy からコネクションが残っているかは統計のupstream_cx_active*2から確認…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcohalz.co%2Fentry%2F2019%2F10%2F20%2F174038&quot; title=&quot;Envoy で HTTP Keep-Alive を無効にする - Re:cohalz&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-20 17:40:38</published>
  <title>Envoy で HTTP Keep-Alive を無効にする</title>
  <type>rich</type>
  <url>https://cohalz.co/entry/2019/10/20/174038</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
