About "if (poll)" , it is different condition from new one, now I add a param ajaxPost, so for this still doesn't change anything for other transports except longPolling.