[Webkit-unassigned] [Bug 60875] [SOUP] Abnormal operation if server sends 5xx status code without HTTP body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 01:48:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60875


Keunsoon Lee <keunsoon.lee at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93625|                            |review?, commit-queue?
               Flag|                            |




--- Comment #1 from Keunsoon Lee <keunsoon.lee at samsung.com>  2011-05-16 01:48:25 PST ---
Created an attachment (id=93625)
 --> (https://bugs.webkit.org/attachment.cgi?id=93625&action=review)
Handle status code 5xx after receiving HTTP body

Handle status code 5xx after receiving HTTP body
    - Background
        1) Webkit soup port premises that server always sends error page in case of status code 5xx.
        2) But, sometimes there is no HTTP body for error page in that case.
    - Modified algorithm;
        1) libsoup sends status code 5xx (server error)
        2) Webkit soup port orders to accumulate HTTP body chunks to libsoup.
        3) Webkit soup port ignores gotHeadersCallback, contentSniffedCallback and gotChunkCallback.
        4) Webkit soup port checks there is HTTP body or not on sendRequestCallback and;
            4-1) if there is HTTP body, calls didReceiveResponse()
            4-2) if there is no HTTP body, calls didFail()

-- 
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