Return if we handle any error messages to avoid unnecessarily calling recv/send
authorDan Melnic <dmm@fb.com>
Tue, 9 Jan 2018 19:36:55 +0000 (11:36 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 9 Jan 2018 19:45:38 +0000 (11:45 -0800)
commit2a4ad2c8ddc1eb1be8b7ffb607de954ccc2b666e
tree7f4b6ee6db8ebb7b71f549e9231374fff0aba4ac
parentee1a988dbb1648c25d1cf1c40eafbf2e7bff81b4
Return if we handle any error messages to avoid unnecessarily calling recv/send

Summary: Return if we handle any error messages to avoid unnecessarily calling recv/send

Reviewed By: yfeldblum

Differential Revision: D6677314

fbshipit-source-id: 21f724bb2c92b954888ba97bf7820d72decd2775
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncSocket.h