move asyncserversocket to folly
authorDave Watson <davejwatson@fb.com>
Thu, 25 Sep 2014 17:17:20 +0000 (10:17 -0700)
committerdcsommer <dcsommer@fb.com>
Wed, 29 Oct 2014 23:04:24 +0000 (16:04 -0700)
commita44155cb1e81ff144d95b7cbf754f29a66818430
treea9f85295c590c000c81b30b6f70dfa3257a9603d
parent1701e3d73e7260895deaf55769bd260fbd7e9190
move asyncserversocket to folly

Summary:
Changes:
* namespace to folly
* some std::chrono replacesments
* Moves shutdownSocketSet stuff to thriftserver instead of in the socket itself.
* Changes exception types.  I don't see anywhere that uses the TAsync*SERVER*socket exceptions depending on the TTransport type, but I could be wrong? I don't really know what to do about the exception types

unittests still postponed overnight.

Test Plan:
fbconfig -r thrift; fbmake runtests
fbconfig -r proxygen; fbmake runtests

Reviewed By: dcsommer@fb.com

Subscribers: hphp-diffs@, ps, folly-diffs@, anca, trunkagent, jsedgwick, fugalh, doug, alandau, bmatheny, njormrod

FB internal diff: D1579187
folly/Makefile.am
folly/io/async/AsyncServerSocket.cpp [new file with mode: 0644]
folly/io/async/AsyncServerSocket.h [new file with mode: 0644]