Sync with curl