[Bug 36642] New: IWinHttpRequest::Send returns immediately even when in synchronous mode
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Jun 1 21:24:34 CDT 2014
http://bugs.winehq.org/show_bug.cgi?id=36642
Bug ID: 36642
Summary: IWinHttpRequest::Send returns immediately even when in
synchronous mode
Product: Wine
Version: 1.7.18
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: winhttp
Assignee: wine-bugs at winehq.org
Reporter: ptubbytaylor at gmail.com
Created attachment 48680
--> http://bugs.winehq.org/attachment.cgi?id=48680
Script for AutoHotkey v1.1+ to reproduce issue
Synchronous mode, as set and described in IWinHttpRequest::Open is enabled, but
it still returns immediately instead of after a response is received.
This issue affects wine versions as early as 1.4, and extends to version 1.7.18
In windows, my attached code and executable display a dialog showing the source
of the google home page. In Ubuntu under wine, it returns immediately, causing
my script to throw an error for trying to access IWinHttpRequest::ResponseText
before Send has completed.
Terminal output from wine is as follows (two lines):
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:winhttp:request_set_option 0 (null) (null)
As a workaround, one can call IWinHttpRequest::WaitForResponse immediately
after Send, which will wait in the same manner Send is supposed to.
--
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