Remove noexcept from AsyncSocket::prepareReadBuffer
authorStepan Palamarchuk <stepan@fb.com>
Mon, 7 Nov 2016 20:37:52 +0000 (12:37 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Mon, 7 Nov 2016 20:38:30 +0000 (12:38 -0800)
commit5c52b281c005e7d7a735bf2ffb6b3de14896cf2e
tree0cf8dadd39ea3771260e8210012004eb5cb8d817
parent5d52fb8c30e567403b8ccb65e5c1a159fb92d707
Remove noexcept from AsyncSocket::prepareReadBuffer

Summary:
`prepareReadBuffer` is calling a callback function that is not a noexcept
also `prepareReadBuffer` is being called only from one place, that wraps this function call with try/catch.

Reviewed By: jmswen

Differential Revision: D4138424

fbshipit-source-id: a05bdd6f741761567a7d0291017c285b0bf15522
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/AsyncSSLSocket.h
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncSocket.h