Current implementation uses main thread for synchronous communication. That flow is very different from main logic of CurlRequest. It should be simplified and much more same code should be used for both async and sync communications.
Created attachment 346294 [details] PATCH
Comment on attachment 346294 [details] PATCH Clearing flags on attachment: 346294 Committed r234480: <https://trac.webkit.org/changeset/234480>
All reviewed patches have been landed. Closing bug.
<rdar://problem/42840444>