[Bug 19852] New: AsyncHttpEndRequestProc was called twice
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Aug 27 04:08:50 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=19852
Summary: AsyncHttpEndRequestProc was called twice
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wininet
AssignedTo: wine-bugs at winehq.org
ReportedBy: leeight at gmail.com
AsyncHttpEndRequestProc -> HTTP_HttpEndRequestW -> HTTP_GetResponseHeaders
was called twice, which cause my application crashed.
the attachment is my debug log, and the temporary solution is
change AsyncHttpEndRequestProc like this
static void AsyncHttpEndRequestProc(WORKREQUEST *work)
{
struct WORKREQ_HTTPENDREQUESTW const *req = &work->u.HttpEndRequestW;
http_request_t *lpwhr = (http_request_t*)work->hdr;
TRACE("%p\n", lpwhr);
if(lpwhr->lpszRawHeaders == NULL){ // add this line
FIXME("[%p]call HTTP_GetResponseHeaders", (lpwhr));
HTTP_HttpEndRequestW(lpwhr, req->dwFlags, req->dwContext);
} // add this line
}
--
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