<div dir="ltr">I implemented nginx-quic using the steps at
<a href="https://quic.nginx.org/readme.html" rel="nofollow noreferrer" target="_blank">https://quic.nginx.org/readme.html</a><div class="gmail_quote"><div><div class="gmail_quote"><div dir="ltr"><div><div>
<p>The page is validating http3 quic at <a href="https://http3check.net" rel="nofollow noreferrer" target="_blank">https://http3check.net</a> and <a href="https://gf.dev/http3-test" rel="nofollow noreferrer" target="_blank">https://gf.dev/http3-test</a></p>
<p>The page elements show h3 protocol in developer tools network tab.</p>
<p>in a test.php page, I have set 3 php cookies like this:</p>
<pre><code><span><?php</span>
<span>$q</span>=setcookie(<span>'test1'</span>, <span>'content1'</span>, time()+<span>315360000</span>, <span>'/'</span>, <span>''</span>, <span>true</span>, <span>true</span>);
<span>$q</span>=setcookie(<span>'test2'</span>, <span>'content2'</span>, time()+<span>315360000</span>, <span>'/'</span>, <span>''</span>, <span>true</span>, <span>true</span>);
<span>$q</span>=setcookie(<span>'test3'</span>, <span>'content3'</span>, time()+<span>315360000</span>, <span>'/'</span>, <span>''</span>, <span>true</span>, <span>true</span>);
<span>?></span>
</code></pre>
<p>In test2.php in the same domain and same directory, I tried to access the cookies :</p>
<pre><code><span><?php</span>
var_dump(<span>$_COOKIE</span>);
<span>?></span>
</code></pre>
<p>It is showing only the last set cookie.</p>
<pre><code> <span>array</span>(<span>1</span>) { [<span>"test3"</span>]=> <span>string</span>(<span>8</span>) <span>"content3"</span> }
</code></pre>
<p>all the three cookies are showing in developer tools.</p>
<p>Javascript is able to read all the three cookies :</p>
<pre><code><script>
<span>var</span> decodedCookie = decodeURIComponent(document.cookie);
console.log(<span>'c='</span>+decodedCookie);
</script>
</code></pre>
<p>If I use nginx http2, php is able to access all the three cookies.</p>
<p>But, If I use nginx http3, php is able to access only the last cookie.</p>
<p>Please help</p>
    </div></div><div>Thanks</div><div>Krishna<br></div></div>
</div><br><br></div></div></div>