<div dir="ltr"><span style="line-height:normal">2015-03-25 11:38 GMT+01:00 Jérémy Lal </span><span dir="ltr" style="line-height:normal"><<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>></span><span style="line-height:normal">:</span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">2015-03-25 11:29 GMT+01:00 Carlos Garcia Campos <<a href="mailto:cgarcia@igalia.com">cgarcia@igalia.com</a>>:<br>
> El mié, 25-03-2015 a las 11:20 +0100, Jérémy Lal escribió:<br>
>> 2015-03-25 9:01 GMT+01:00 Carlos Garcia Campos <<a href="mailto:cgarcia@igalia.com">cgarcia@igalia.com</a>>:<br>
>> > El mar, 24-03-2015 a las 22:48 +0100, Jérémy Lal escribió:<br>
>> >> 2015-03-24 21:21 GMT+01:00 Jérémy Lal <<a href="mailto:kapouer@melix.org">kapouer@melix.org</a>>:<br>
>> >> > I'm seeing something very weird in a complicated setup here, and am trying to<br>
>> >> > understand what's happening:<br>
>> >> ><br>
>> >> > 1 - open page urlA, Set-Cookie CA<br>
>> >> > 2 - do xhr requests to urlB (ETag set in response)<br>
>> >> > 3 - load same page urlA, Set-Cookie CB<br>
>> >> > 4 - do xhr request to urlB 304 (If-None-Match hit), a response is sent<br>
>> >> > from expressjs server, without a content-type header set (the server<br>
>> >> > gets Cookie CB)<br>
>> >><br>
>> >> I think i found how to reproduce with this precision in step 4:<br>
>> >><br>
>> >> 4 - do xhr request to urlB 304 (If-None-Match hit)<br>
>> >> ** with the same Last-Modified header as in step 2 **<br>
>> >><br>
>> >> It makes webkit2gtk 2.7.4 go back in time and it start sending cookies<br>
>> >> from the past !<br>
>> >><br>
>> >><br>
>> >> > 5 - a second xhr request to never requested urlC is done: the server<br>
>> >> > gets Cookie CA !<br>
>> >><br>
>> >> > am going to test against webkit2gtk 2.8.0<br>
>> >><br>
>> >> building...<br>
>> ><br>
>> > What libsoup version are you using?<br>
>><br>
>> The one from debian jessie, 2.48.<br>
>> I just gave a try with webkit2gtk 2.8.0 and it does the same.<br>
><br>
> I asked because the new libsoup version 2.50 has several fixes in the<br>
> disk cache.<br>
<br>
</div></div>I just read the changelog and am almost already convinced the bug is<br>
already fixes there :)<br>
<span class=""><br>
><br>
>> The symptoms are a bit different. Sometimes when i do a test, the bug<br>
>> does not appear,<br>
>> and two third of the times it appears.<br>
><br>
> Could you file a bug report with instructions to reproduce the issue? or<br>
> even better a test case if possible?<br>
<br>
</span>I'll try to trim the code down to the minimum. Expect nodejs code...<br></blockquote><div></div></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">i opened</div><div class="gmail_extra"><a href="https://bugs.webkit.org/show_bug.cgi?id=145734">https://bugs.webkit.org/show_bug.cgi?id=145734</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">with code for reproducing the problem i'm seeing - which is simpler to understand now :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Jérémy.</div><div class="gmail_extra"><br></div></div>