[Webkit-unassigned] [Bug 49018] [GTK] response.isNull() assert when using directory file URI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 9 13:36:46 PST 2010


Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> changed:

           What    |Removed                     |Added
  Attachment #73316|0                           |1
        is obsolete|                            |
  Attachment #73407|                            |review?
               Flag|                            |

--- Comment #17 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>  2010-11-09 13:36:46 PST ---
Created an attachment (id=73407)
 --> (https://bugs.webkit.org/attachment.cgi?id=73407&action=review)
Fix assert using directory file URI

As requested I've reused the check that decided if GIO should be used and send a response in this case in sendRequestCallback(), also added assert to check we don't send twice and that we have sent a response.

At first I though that we could simply check for m_response.isNull() in sendRequestCallback(), but found out that contentSniffedCallback() may be called after with HTTP streams, which leads to sending two responses.

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