Source/WebKit/ChangeLog

 12019-08-07 Alex Christensen <achristensen@webkit.org>
 2
 3 Remove speculative workaround for upload crash
 4 https://bugs.webkit.org/show_bug.cgi?id=200514
 5
 6 Reviewed by John Wilander.
 7
 8 This workaround didn't help anyways, and the crash has been resolved. Let's clean up.
 9
 10 * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
 11 (-[WKNetworkSessionDelegate URLSession:task:needNewBodyStream:]):
 12
1132019-08-05 Youenn Fablet <youenn@apple.com>
214
315 Disable speculative loading if cache is not to be used for the load

Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

@@static String stringForSSLCipher(SSLCipherSuite cipher)
394394 return;
395395 }
396396
397  // FIXME: Call the completionHandler immediately once rdar://problem/28233746 is fixed.
398  RunLoop::main().dispatch([body = makeRef(*body), completionHandler = makeBlockPtr(completionHandler)] {
399  completionHandler(WebCore::createHTTPBodyNSInputStream(body.get()).get());
400  });
 397 completionHandler(WebCore::createHTTPBodyNSInputStream(body).get());
401398}
402399
403400#if HAVE(CFNETWORK_WITH_IGNORE_HSTS) && ENABLE(RESOURCE_LOAD_STATISTICS)