We currently load the cookie file on every request, and when reading cookies from JavaScript, by using the option CURLOPT_COOKIEFILE. This is very inefficient as the cookie file can get quite large, and file I/O is slow. It is sufficient to load the cookie file on startup, as we use a shared cookie database between the requests.
Created attachment 194481 [details] Patch
Comment on attachment 194481 [details] Patch r=me
Comment on attachment 194481 [details] Patch Clearing flags on attachment: 194481 Committed r146621: <http://trac.webkit.org/changeset/146621>
All reviewed patches have been landed. Closing bug.
(In reply to comment #2) > (From update of attachment 194481 [details]) > r=me Thanks for reviewing ;)