Bug 60695 - subsequent XMLHttp POST with SSL proxy fails
Summary: subsequent XMLHttp POST with SSL proxy fails
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-05-12 05:10 PDT by Andreas Kobara
Modified: 2011-11-08 16:45 PST (History)
2 users (show)

See Also:


Attachments
A step by step testcase to be called on a SSL-webserver through a HTTP proxy(non localhost) (6.28 KB, text/html)
2011-05-12 05:10 PDT, Andreas Kobara
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kobara 2011-05-12 05:10:43 PDT
Created attachment 93277 [details]
A step by step testcase to be called on a SSL-webserver through a HTTP proxy(non localhost)

Subject:
The following steps demonstrate a bug in WebKit when using XMLHttp-POST to a HTTPS-Site via HTTP-Proxy.

Speculation:
Subsequent XMLHttp-POST does not check for a valid Proxyconnection (and reestablish if needed) when sending the Request.

affected Browsers:
Bug occurs on Safari/MacOS and Konqueror/Linux.

not affected Browsers:
Safari/Windows, IE+Firefox+Chrome/Windows/MacOS/Linux

Prerequisites:
    OS non-windows
    Browser using WebKit
    Browser needs to use an HTTP-Proxy for HTTPS-Requests
    Webserver needs to be SSL-enabled (resource needs to be HTTPS-accessible)
    Any HTTP-Proxy (tested with Squid, CCProxy, Paros)
    Proxy needs to be installed on a different machine (localhost proxy does not trigger the bug)
    Request has to be XMLHttp-POST

Steps to reproduce:
    Open this file xmlhttml.html from your webserver in your browser
    Step 1 GET main site
    Step 2 GET subpage from main site
    Step 3 POST to subpage produces No Error
    Step 4 just wait about 3-10 seconds (Proxy connection will close)
    Step 5 POST to same subpage produces Error (proxy connection is not checked/reestablished)

See fully functional demo code attached, also contains instruction how to setup a testing environment (2 machines required)
Comment 1 Alexey Proskuryakov 2011-05-12 10:21:08 PDT
<rdar://problem/9428190>
Comment 2 Alexey Proskuryakov 2011-11-08 16:45:57 PST
We could reproduce this on Mac OS X 10.6, but not on 10.7. Looks like this was a bug below WebKit that got fixed already.

Since we only track WebKit bugs here, marking as INVALID. Thank you for reporting this issue, and please verify that this works for you on 10.7.

If this still happens on Konqueror/Linux, please file a separate bug about that.