SECURITY: prevents onebox to hang too long on connect (PR #13481)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there: