Timestamping callback interface in folly::AsyncSocket
authorMaxim Georgiev <maxgeorg@fb.com>
Tue, 14 Feb 2017 01:32:45 +0000 (17:32 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 14 Feb 2017 01:34:41 +0000 (17:34 -0800)
commit4aa405ec8db137b29d403aa204a91ed50aab5bb4
tree36b08bfbb16e9c02b8b2896780a883cd51b4869d
parent60b6e844c5c581d9e8004e20a3409b6b4430fd9d
Timestamping callback interface in folly::AsyncSocket

Summary: Adding an interface to folly::AsyncSocket allowing to receive timestamp notifications collected using recvmsg(fd, MSG_ERRQUEUE, ...).

Reviewed By: djwatson

Differential Revision: D4329066

fbshipit-source-id: 154f5c0d04e5c0e410081d48c937af4069479fc2
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncSocket.h
folly/io/async/test/AsyncSocketTest.h
folly/io/async/test/AsyncSocketTest2.cpp