[Webkit-unassigned] [Bug 57228] [Qt][Symbian] Hang : No response on calling send() method on XMLHttpRequest object.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 16 04:37:25 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57228
Johannes Oikarinen <johannes.oikarinen at digia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johannes.oikarinen at digia.co
| |m
--- Comment #7 from Johannes Oikarinen <johannes.oikarinen at digia.com> 2011-05-16 04:37:25 PST ---
The root cause of this issue is found in QtNetwork QNetworkReplyImpPrivate class. The class doesn't maintain correct state for synchronous requests; synchronous requests are set to finished already at the beginning of the request. Wrong state blocks the QNetworkReply from emitting finished signal when the request actually completes. Since no signal is emitted an eventloop in ResourceHandle::loadResourceSynchronously hangs at Webkit’s side.
Webkit might need to have an additional check to see if the QNetworkReply contains any unread data before closing it. This is needed since a response can be received from a remote host before Webkit connects handlers for the QNetworkReply. QNetworkReplyHandler::finish could be suitable place to implement this.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list