<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 11/23/11 04:17, Andy Clayton wrote:
<blockquote
cite="mid:CALub+Nu5+fiEyhhwu-jv9LXvRpi2eQDuQ44KWzAw1ROpMDTCxA@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Tue, Nov 22, 2011 at 9:28 AM, Andy
Clayton <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:q3aiml@gmail.com">q3aiml@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Jacek,<br>
<br>
<div class="gmail_quote">
<div class="im">On Tue, Nov 22, 2011 at 3:59 AM, Jacek Caban
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jacek@codeweavers.com" target="_blank">jacek@codeweavers.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
This doesn't seem right. At the point where we call
HTTP_ReceiveRequestData, content_length is supposed to
be set based on response header. The bug must be
somewhere else.<span></span><br>
</blockquote>
</div>
<div>
<br>
Thanks for looking over my patch. So it seems then that
HTTP_HttpSendRequestW should not be calling
HTTP_ReceiveRequestData if bEndRequest is false
(http.c:4941), since there is no way at that point it
could have read the headers. Is that a better fix?<br>
<br>
Thanks again for your help,<br>
<br>
Andy <br>
</div>
</div>
<br>
</blockquote>
</div>
<br>
I've attached a second attempt showing this. Thanks for any
thoughts you can provide.<br>
</blockquote>
<br>
This patch looks good to me.<br>
<br>
Thanks,<br>
Jacek<br>
</body>
</html>