vk_api
vk_api copied to clipboard
Tiny fix to http session
Sometimes vk forcibly breaks longpool connection (more often than not it happens at night). At current realization VKLongPoll tries immediately restore one. In this case, the requests.exceptions.ConnectionError is raised. My patch may help to avoid this.