Changeset 200100 in webkit
- Timestamp:
- Apr 26, 2016 11:27:08 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r200099 r200100 1 2016-04-26 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [curl] Requests interrupted when using https via proxy 4 https://bugs.webkit.org/show_bug.cgi?id=157028 5 6 Reviewed by Alex Christensen. 7 8 A proxy responds "200 Connection Established" to a CONNECT 9 method. This response doesn't have Content-Type, then the 10 request is canceled due to a unsupported MIME type. This is not 11 a real response from the recipient server. It should not be 12 processed normally. Just ignore the response. 13 14 * platform/network/curl/ResourceHandleManager.cpp: 15 (WebCore::headerCallback): 16 Do nothing if httpCode is 0. This is the case of "200 Connection Established". 17 1 18 2016-04-26 Chris Dumez <cdumez@apple.com> 2 19 -
trunk/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp
r196223 r200100 483 483 curl_easy_getinfo(h, CURLINFO_RESPONSE_CODE, &httpCode); 484 484 485 if (!httpCode) { 486 // Comes here when receiving 200 Connection Established. Just return. 487 return totalSize; 488 } 485 489 if (isHttpInfo(httpCode)) { 486 490 // Just return when receiving http info, e.g. HTTP/1.1 100 Continue.
Note: See TracChangeset
for help on using the changeset viewer.