[Bug 14183] HttpSendRequest() should fetch connection parameters instead of HttpOpenRequest(), especially Cookies.

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 29 13:37:08 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14183





--- Comment #1 from Yann Droneaud <yann at droneaud.fr>  2008-06-29 13:37:08 ---
Created an attachment (id=14455)
 --> (http://bugs.winehq.org/attachment.cgi?id=14455)
Load cookie in HTTP_HttpSendRequest() instead of HTTP_HttpOpenRequest()

Here is a patch which fix my problem, by moving cookie fetch code from
HTTP_HttpOpenRequestW() to HTTP_HttpSendRequestW().

The patch must be reviewed with care, it was only tested with the application
described above.

Note that loading the cookies inside the loop of HTTP_HttpSendRequestW() could
help to use cookies set by the server in a redirect error, see bug #3307 .


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list