Fix use after move in AsyncSSLSocket constructor.
authorKyle Nekritz <knekritz@fb.com>
Fri, 10 Mar 2017 17:36:52 +0000 (09:36 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 10 Mar 2017 17:50:15 +0000 (09:50 -0800)
commitd5c52464f21358b50304481d21fb6345ee3434f2
tree98ecac82d86e1a2ec59fadc0e8715e8ff9648202
parent8ecc23d91b78319b9d65747c4a689b6473c52ce1
Fix use after move in AsyncSSLSocket constructor.

Summary: The new AsyncSocket is already constructed at this point so just use the event base from it.

Reviewed By: djwatson

Differential Revision: D4689395

fbshipit-source-id: aac898c1c6e6e0e0ffcb20b16bbf2b842cc31d54
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/test/AsyncSSLSocketTest.cpp